Tabnine Logo
Filter.values
Code IndexAdd Tabnine to your IDE (free)

How to use
values
method
in
software.amazon.awssdk.services.applicationdiscovery.model.Filter

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

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("Filter").add("Name", name()).add("Values", values()).add("Condition", condition()).build();
}
origin: software.amazon.awssdk/applicationdiscovery

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "name":
    return Optional.ofNullable(clazz.cast(name()));
  case "values":
    return Optional.ofNullable(clazz.cast(values()));
  case "condition":
    return Optional.ofNullable(clazz.cast(condition()));
  default:
    return Optional.empty();
  }
}
origin: aws/aws-sdk-java-v2

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

/**
 * 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("Filter").add("Name", name()).add("Values", values()).add("Condition", condition()).build();
}
origin: software.amazon.awssdk/discovery

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

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

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

@Override
public String toString() {
  return ToString.builder("Filter").add("Name", name()).add("Values", values()).add("Condition", condition()).build();
}
origin: software.amazon.awssdk/discovery

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(name());
  hashCode = 31 * hashCode + Objects.hashCode(values());
  hashCode = 31 * hashCode + Objects.hashCode(condition());
  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 Filter)) {
    return false;
  }
  Filter other = (Filter) obj;
  return Objects.equals(name(), other.name()) && Objects.equals(values(), other.values())
      && Objects.equals(condition(), other.condition());
}
origin: software.amazon.awssdk/discovery

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

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

  /**
   * Marshall the given parameter object
   */
  public void marshall(Filter filter, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(filter, "filter");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(filter.name(), NAME_BINDING);
      protocolMarshaller.marshall(filter.values(), VALUES_BINDING);
      protocolMarshaller.marshall(filter.condition(), CONDITION_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.applicationdiscovery.modelFiltervalues

Javadoc

A string value on which to filter. For example, if you choose the destinationServer.osVersion filter name, you could specify Ubuntu for the value.

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

Popular methods of Filter

  • <init>
  • builder
  • condition
    A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAI
  • name
    The name of the filter.

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • IsNull (org.hamcrest.core)
    Is the value null?
  • CodeWhisperer alternatives
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