@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Resource Id.
|
String |
getName()
A descriptive resource name.
|
ResourceDataContainer |
getResourceDataContainer()
A container of data for all resource types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setId(String id)
Resource Id.
|
void |
setName(String name)
A descriptive resource name.
|
void |
setResourceDataContainer(ResourceDataContainer resourceDataContainer)
A container of data for all resource types.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Resource |
withId(String id)
Resource Id.
|
Resource |
withName(String name)
A descriptive resource name.
|
Resource |
withResourceDataContainer(ResourceDataContainer resourceDataContainer)
A container of data for all resource types.
|
public void setId(String id)
id - Resource Id.public String getId()
public Resource withId(String id)
id - Resource Id.public void setName(String name)
name - A descriptive resource name.public String getName()
public Resource withName(String name)
name - A descriptive resource name.public void setResourceDataContainer(ResourceDataContainer resourceDataContainer)
resourceDataContainer - A container of data for all resource types.public ResourceDataContainer getResourceDataContainer()
public Resource withResourceDataContainer(ResourceDataContainer resourceDataContainer)
resourceDataContainer - A container of data for all resource types.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.