@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Attribute associated with a resource.
Note the corresponding format required per type listed below:
x.x.x.x
where x is an integer in the range [0,255]
y : y : y : y : y : y : y : y
where y is a hexadecimal between 0 and FFFF. [0, FFFF]
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$
| Constructor and Description |
|---|
ResourceAttribute() |
| Modifier and Type | Method and Description |
|---|---|
ResourceAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Type of resource.
|
String |
getValue()
Value of the resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
Type of resource.
|
void |
setValue(String value)
Value of the resource type.
|
String |
toString()
Returns a string representation of this object.
|
ResourceAttribute |
withType(ResourceAttributeType type)
Type of resource.
|
ResourceAttribute |
withType(String type)
Type of resource.
|
ResourceAttribute |
withValue(String value)
Value of the resource type.
|
public void setType(String type)
Type of resource.
type - Type of resource.ResourceAttributeTypepublic String getType()
Type of resource.
ResourceAttributeTypepublic ResourceAttribute withType(String type)
Type of resource.
type - Type of resource.ResourceAttributeTypepublic ResourceAttribute withType(ResourceAttributeType type)
Type of resource.
type - Type of resource.ResourceAttributeTypepublic void setValue(String value)
Value of the resource type.
value - Value of the resource type.public String getValue()
Value of the resource type.
public ResourceAttribute withValue(String value)
Value of the resource type.
value - Value of the resource type.public String toString()
toString in class ObjectObject.toString()public ResourceAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.