@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
A toggle for an individual feature at the instance level.
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeType()
The type of attribute.
|
String |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributeType(String attributeType)
The type of attribute.
|
void |
setValue(String value)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object.
|
Attribute |
withAttributeType(InstanceAttributeType attributeType)
The type of attribute.
|
Attribute |
withAttributeType(String attributeType)
The type of attribute.
|
Attribute |
withValue(String value)
The value of the attribute.
|
public void setAttributeType(String attributeType)
The type of attribute.
attributeType - The type of attribute.InstanceAttributeTypepublic String getAttributeType()
The type of attribute.
InstanceAttributeTypepublic Attribute withAttributeType(String attributeType)
The type of attribute.
attributeType - The type of attribute.InstanceAttributeTypepublic Attribute withAttributeType(InstanceAttributeType attributeType)
The type of attribute.
attributeType - The type of attribute.InstanceAttributeTypepublic void setValue(String value)
The value of the attribute.
value - The value of the attribute.public String getValue()
The value of the attribute.
public Attribute withValue(String value)
The value of the attribute.
value - The value of the attribute.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.