Class TagFilter
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.TagFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TagFilter.Builder,TagFilter>
@Generated("software.amazon.awssdk:codegen") public final class TagFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagFilter.Builder,TagFilter>
Information about an on-premises instance tag filter.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTagFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The on-premises instance tag filter key.List<SdkField<?>>sdkFields()static Class<? extends TagFilter.Builder>serializableBuilderClass()TagFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.TagFilterTypetype()The on-premises instance tag filter type:StringtypeAsString()The on-premises instance tag filter type:Stringvalue()The on-premises instance tag filter value.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
key
public final String key()
The on-premises instance tag filter key.
- Returns:
- The on-premises instance tag filter key.
-
value
public final String value()
The on-premises instance tag filter value.
- Returns:
- The on-premises instance tag filter value.
-
type
public final TagFilterType type()
The on-premises instance tag filter type:
-
KEY_ONLY: Key only.
-
VALUE_ONLY: Value only.
-
KEY_AND_VALUE: Key and value.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTagFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The on-premises instance tag filter type:
-
KEY_ONLY: Key only.
-
VALUE_ONLY: Value only.
-
KEY_AND_VALUE: Key and value.
-
- See Also:
TagFilterType
-
-
typeAsString
public final String typeAsString()
The on-premises instance tag filter type:
-
KEY_ONLY: Key only.
-
VALUE_ONLY: Value only.
-
KEY_AND_VALUE: Key and value.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTagFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The on-premises instance tag filter type:
-
KEY_ONLY: Key only.
-
VALUE_ONLY: Value only.
-
KEY_AND_VALUE: Key and value.
-
- See Also:
TagFilterType
-
-
toBuilder
public TagFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TagFilter.Builder,TagFilter>
-
builder
public static TagFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends TagFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
-