Codota Logo
ListRulesRequest
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: software.amazon.awssdk/events

  @Override
  public ListRulesRequest build() {
    return new ListRulesRequest(this);
  }
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(namePrefix());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
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/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: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof ListRulesRequest)) {
    return false;
  }
  ListRulesRequest other = (ListRulesRequest) obj;
  return Objects.equals(namePrefix(), other.namePrefix()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
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: aws/aws-sdk-java-v2

@Override
public ListRulesRequest build() {
  return new ListRulesRequest(this);
}
origin: software.amazon.awssdk/events

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(namePrefix());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
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: software.amazon.awssdk/cloudwatchevents

@Override
public ListRulesRequest build() {
  return new ListRulesRequest(this);
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(namePrefix());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
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/cloudwatchevents

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof ListRulesRequest)) {
    return false;
  }
  ListRulesRequest other = (ListRulesRequest) obj;
  return Objects.equals(namePrefix(), other.namePrefix()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
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/events

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof ListRulesRequest)) {
    return false;
  }
  ListRulesRequest other = (ListRulesRequest) obj;
  return Objects.equals(namePrefix(), other.namePrefix()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
origin: aws/aws-sdk-java-v2

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

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("ListRulesRequest").add("NamePrefix", namePrefix()).add("NextToken", nextToken())
      .add("Limit", limit()).build();
}
origin: aws/aws-sdk-java-v2

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

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("ListRulesRequest").add("NamePrefix", namePrefix()).add("NextToken", nextToken())
      .add("Limit", limit()).build();
}
origin: software.amazon.awssdk/events

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

Most used methods

  • <init>
  • builder
  • 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

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now