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

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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