@Generated(value="software.amazon.awssdk:codegen") public final class Attribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Attribute.Builder,Attribute>
A toggle for an individual feature at the instance level.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Attribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
InstanceAttributeType |
attributeType()
The type of attribute.
|
String |
attributeTypeAsString()
The type of attribute.
|
static Attribute.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Attribute.Builder> |
serializableBuilderClass() |
Attribute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the attribute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InstanceAttributeType attributeType()
The type of attribute.
If the service returns an enum value that is not available in the current SDK version, attributeType
will return InstanceAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from attributeTypeAsString().
InstanceAttributeTypepublic final String attributeTypeAsString()
The type of attribute.
If the service returns an enum value that is not available in the current SDK version, attributeType
will return InstanceAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from attributeTypeAsString().
InstanceAttributeTypepublic final String value()
The value of the attribute.
public Attribute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Attribute.Builder,Attribute>public static Attribute.Builder builder()
public static Class<? extends Attribute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.