Tabnine Logo
ListTargetsByRuleRequest.rule
Code IndexAdd Tabnine to your IDE (free)

How to use
rule
method
in
software.amazon.awssdk.services.cloudwatchevents.model.ListTargetsByRuleRequest

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

origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Rule":
    return Optional.ofNullable(clazz.cast(rule()));
  case "NextToken":
    return Optional.ofNullable(clazz.cast(nextToken()));
  case "Limit":
    return Optional.ofNullable(clazz.cast(limit()));
  default:
    return Optional.empty();
  }
}
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("ListTargetsByRuleRequest").add("Rule", rule()).add("NextToken", nextToken())
      .add("Limit", limit()).build();
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(rule());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
origin: software.amazon.awssdk/events

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Rule":
    return Optional.ofNullable(clazz.cast(rule()));
  case "NextToken":
    return Optional.ofNullable(clazz.cast(nextToken()));
  case "Limit":
    return Optional.ofNullable(clazz.cast(limit()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cloudwatchevents

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Rule":
    return Optional.ofNullable(clazz.cast(rule()));
  case "NextToken":
    return Optional.ofNullable(clazz.cast(nextToken()));
  case "Limit":
    return Optional.ofNullable(clazz.cast(limit()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/events

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(rule());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
origin: software.amazon.awssdk/events

@Override
public String toString() {
  return ToString.builder("ListTargetsByRuleRequest").add("Rule", rule()).add("NextToken", nextToken())
      .add("Limit", limit()).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("ListTargetsByRuleRequest").add("Rule", rule()).add("NextToken", nextToken())
      .add("Limit", limit()).build();
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(rule());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
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 ListTargetsByRuleRequest)) {
    return false;
  }
  ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj;
  return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof ListTargetsByRuleRequest)) {
    return false;
  }
  ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj;
  return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
origin: software.amazon.awssdk/events

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof ListTargetsByRuleRequest)) {
    return false;
  }
  ListTargetsByRuleRequest other = (ListTargetsByRuleRequest) obj;
  return Objects.equals(rule(), other.rule()) && Objects.equals(nextToken(), other.nextToken())
      && Objects.equals(limit(), other.limit());
}
origin: software.amazon.awssdk/events

  /**
   * Marshall the given parameter object
   */
  public void marshall(ListTargetsByRuleRequest listTargetsByRuleRequest, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(listTargetsByRuleRequest, "listTargetsByRuleRequest");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(listTargetsByRuleRequest.rule(), RULE_BINDING);
      protocolMarshaller.marshall(listTargetsByRuleRequest.nextToken(), NEXTTOKEN_BINDING);
      protocolMarshaller.marshall(listTargetsByRuleRequest.limit(), LIMIT_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cloudwatchevents.modelListTargetsByRuleRequestrule

Javadoc

The name of the rule.

Popular methods of ListTargetsByRuleRequest

  • <init>
  • builder
  • limit
    The maximum number of results to return.
  • 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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top Vim plugins
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