@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.InstanceAttributeType
public String getAttributeType()
The type of attribute.
InstanceAttributeType
public Attribute withAttributeType(String attributeType)
The type of attribute.
attributeType
- The type of attribute.InstanceAttributeType
public Attribute withAttributeType(InstanceAttributeType attributeType)
The type of attribute.
attributeType
- The type of attribute.InstanceAttributeType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.