@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Attribute associated with a resource.
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; useful for testing and debugging.
|
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.ResourceAttributeType
public String getType()
Type of resource.
ResourceAttributeType
public ResourceAttribute withType(String type)
Type of resource.
type
- Type of resource.ResourceAttributeType
public ResourceAttribute withType(ResourceAttributeType type)
Type of resource.
type
- Type of resource.ResourceAttributeType
public 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 Object
Object.toString()
public ResourceAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.