Codota Logo
RunCommandTarget.values
Code IndexAdd Codota to your IDE (free)

How to use
values
method
in
software.amazon.awssdk.services.cloudwatchevents.model.RunCommandTarget

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(key());
  hashCode = 31 * hashCode + Objects.hashCode(values());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Key":
    return Optional.ofNullable(clazz.cast(key()));
  case "Values":
    return Optional.ofNullable(clazz.cast(values()));
  default:
    return Optional.empty();
  }
}
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("RunCommandTarget").add("Key", key()).add("Values", values()).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("RunCommandTarget").add("Key", key()).add("Values", values()).build();
}
origin: software.amazon.awssdk/cloudwatchevents

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

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

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Key":
    return Optional.ofNullable(clazz.cast(key()));
  case "Values":
    return Optional.ofNullable(clazz.cast(values()));
  default:
    return Optional.empty();
  }
}
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 RunCommandTarget)) {
    return false;
  }
  RunCommandTarget other = (RunCommandTarget) obj;
  return Objects.equals(key(), other.key()) && Objects.equals(values(), other.values());
}
origin: software.amazon.awssdk/cloudwatchevents

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Key":
    return Optional.ofNullable(clazz.cast(key()));
  case "Values":
    return Optional.ofNullable(clazz.cast(values()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/events

@Override
public String toString() {
  return ToString.builder("RunCommandTarget").add("Key", key()).add("Values", values()).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 RunCommandTarget)) {
    return false;
  }
  RunCommandTarget other = (RunCommandTarget) obj;
  return Objects.equals(key(), other.key()) && Objects.equals(values(), other.values());
}
origin: software.amazon.awssdk/events

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

  /**
   * Marshall the given parameter object
   */
  public void marshall(RunCommandTarget runCommandTarget, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(runCommandTarget, "runCommandTarget");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(runCommandTarget.key(), KEY_BINDING);
      protocolMarshaller.marshall(runCommandTarget.values(), VALUES_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cloudwatchevents.modelRunCommandTargetvalues

Javadoc

If Key is tag: tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.

Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

Popular methods of RunCommandTarget

  • <init>
  • builder
  • key
    Can be either tag: tag-key or InstanceIds.

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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