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

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

Best Java code snippets using software.amazon.awssdk.services.applicationdiscovery.model.Filter.condition (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.modelFiltercondition

Javadoc

A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.

Popular methods of Filter

  • <init>
  • builder
  • name
    The name of the filter.
  • values
    A string value on which to filter. For example, if you choose the destinationServer.osVersion filt

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • getContentResolver (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • JFrame (javax.swing)
  • Top Vim plugins
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