congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ListTargetsByRuleRequest.limit
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.ListTargetsByRuleRequest.limit (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.modelListTargetsByRuleRequestlimit

Javadoc

The maximum number of results to return.

Popular methods of ListTargetsByRuleRequest

  • <init>
  • builder
  • nextToken
    The token returned by a previous call to retrieve the next set of results.
  • rule
    The name of the rule.

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • startActivity (Activity)
  • Menu (java.awt)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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