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

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

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

Javadoc

The name of the filter.

Popular methods of Filter

  • <init>
  • builder
  • condition
    A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAI
  • values
    A string value on which to filter. For example, if you choose the destinationServer.osVersion filt

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • getContentResolver (Context)
  • setContentView (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Reference (javax.naming)
  • BoxLayout (javax.swing)
  • 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