Tabnine Logo
ListRulesRequest.builder
Code IndexAdd Tabnine to your IDE (free)

How to use
builder
method
in
software.amazon.awssdk.services.cloudwatchevents.model.ListRulesRequest

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.ListRulesRequest.builder (Showing top 12 results out of 315)

origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 * <p>
 * ListRules does not list the targets of a rule. To see the targets associated with a rule, use
 * <a>ListTargetsByRule</a>.
 * </p>
 *
 * @return Result of the ListRules operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.ListRules
 * @see #listRules(ListRulesRequest)
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException,
    CloudWatchEventsException {
  return listRules(ListRulesRequest.builder().build());
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 * <p>
 * ListRules does not list the targets of a rule. To see the targets associated with a rule, use
 * <a>ListTargetsByRule</a>.
 * </p>
 *
 * @return A Java Future containing the result of the ListRules operation returned by the service.<br/>
 *         The CompletableFuture returned by this method can be completed exceptionally with the following
 *         exceptions.
 *         <ul>
 *         <li>InternalException This exception occurs due to unexpected causes.</li>
 *         <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
 *         Can be used for catch all scenarios.</li>
 *         <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get
 *         credentials, etc.</li>
 *         <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as
 *         an instance of this type.</li>
 *         </ul>
 * @sample CloudWatchEventsAsyncClient.ListRules
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default CompletableFuture<ListRulesResponse> listRules() {
  return listRules(ListRulesRequest.builder().build());
}
origin: software.amazon.awssdk/events

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 *
 * @return Result of the ListRules operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.ListRules
 * @see #listRules(ListRulesRequest)
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException,
    CloudWatchEventsException {
  return listRules(ListRulesRequest.builder().build());
}
origin: software.amazon.awssdk/events

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 *
 * @return A Java Future containing the result of the ListRules operation returned by the service.<br/>
 *         The CompletableFuture returned by this method can be completed exceptionally with the following
 *         exceptions.
 *         <ul>
 *         <li>InternalException This exception occurs due to unexpected causes.</li>
 *         <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
 *         Can be used for catch all scenarios.</li>
 *         <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get
 *         credentials, etc.</li>
 *         <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as
 *         an instance of this type.</li>
 *         </ul>
 * @sample CloudWatchEventsAsyncClient.ListRules
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default CompletableFuture<ListRulesResponse> listRules() {
  return listRules(ListRulesRequest.builder().build());
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 * <p>
 * ListRules does not list the targets of a rule. To see the targets associated with a rule, use
 * <a>ListTargetsByRule</a>.
 * </p>
 *
 * @return A Java Future containing the result of the ListRules operation returned by the service.<br/>
 *         The CompletableFuture returned by this method can be completed exceptionally with the following
 *         exceptions.
 *         <ul>
 *         <li>InternalException This exception occurs due to unexpected causes.</li>
 *         <li>SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
 *         Can be used for catch all scenarios.</li>
 *         <li>SdkClientException If any client side error occurs such as an IO related failure, failure to get
 *         credentials, etc.</li>
 *         <li>CloudWatchEventsException Base class for all service exceptions. Unknown exceptions will be thrown as
 *         an instance of this type.</li>
 *         </ul>
 * @sample CloudWatchEventsAsyncClient.ListRules
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default CompletableFuture<ListRulesResponse> listRules() {
  return listRules(ListRulesRequest.builder().build());
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Lists your Amazon CloudWatch Events rules. You can either list all the rules or you can provide a prefix to match
 * to the rule names.
 * </p>
 * <p>
 * ListRules does not list the targets of a rule. To see the targets associated with a rule, use
 * <a>ListTargetsByRule</a>.
 * </p>
 *
 * @return Result of the ListRules operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.ListRules
 * @see #listRules(ListRulesRequest)
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules" target="_top">AWS API
 *      Documentation</a>
 */
default ListRulesResponse listRules() throws InternalException, AwsServiceException, SdkClientException,
    CloudWatchEventsException {
  return listRules(ListRulesRequest.builder().build());
}
origin: software.amazon.awssdk/events

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
origin: software.amazon.awssdk/events

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
origin: aws/aws-sdk-java-v2

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
origin: software.amazon.awssdk/cloudwatchevents

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
origin: aws/aws-sdk-java-v2

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
origin: software.amazon.awssdk/cloudwatchevents

return listRules(ListRulesRequest.builder().applyMutation(listRulesRequest).build());
software.amazon.awssdk.services.cloudwatchevents.modelListRulesRequestbuilder

Popular methods of ListRulesRequest

  • <init>
  • limit
    The maximum number of results to return.
  • namePrefix
    The prefix matching the rule name.
  • nextToken
    The token returned by a previous call to retrieve the next set of results.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Table (org.hibernate.mapping)
    A relational table
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now