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

How to use
targetArn
method
in
software.amazon.awssdk.services.cloudwatchevents.model.ListRuleNamesByTargetRequest

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

origin: software.amazon.awssdk/events

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "TargetArn":
    return Optional.ofNullable(clazz.cast(targetArn()));
  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

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "TargetArn":
    return Optional.ofNullable(clazz.cast(targetArn()));
  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 "TargetArn":
    return Optional.ofNullable(clazz.cast(targetArn()));
  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("ListRuleNamesByTargetRequest").add("TargetArn", targetArn()).add("NextToken", nextToken())
      .add("Limit", limit()).build();
}
origin: software.amazon.awssdk/events

@Override
public String toString() {
  return ToString.builder("ListRuleNamesByTargetRequest").add("TargetArn", targetArn()).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("ListRuleNamesByTargetRequest").add("TargetArn", targetArn()).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(targetArn());
  hashCode = 31 * hashCode + Objects.hashCode(nextToken());
  hashCode = 31 * hashCode + Objects.hashCode(limit());
  return hashCode;
}
origin: software.amazon.awssdk/events

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

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

  /**
   * Marshall the given parameter object
   */
  public void marshall(ListRuleNamesByTargetRequest listRuleNamesByTargetRequest, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(listRuleNamesByTargetRequest, "listRuleNamesByTargetRequest");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(listRuleNamesByTargetRequest.targetArn(), TARGETARN_BINDING);
      protocolMarshaller.marshall(listRuleNamesByTargetRequest.nextToken(), NEXTTOKEN_BINDING);
      protocolMarshaller.marshall(listRuleNamesByTargetRequest.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.modelListRuleNamesByTargetRequesttargetArn

Javadoc

The Amazon Resource Name (ARN) of the target resource.

Popular methods of ListRuleNamesByTargetRequest

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

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • startActivity (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JPanel (javax.swing)
  • PhpStorm for WordPress
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