@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
Information about a resource for a project.
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The Amazon Resource Name (ARN) of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The Amazon Resource Name (ARN) of the resource.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withId(String id)
The Amazon Resource Name (ARN) of the resource.
|
public void setId(String id)
The Amazon Resource Name (ARN) of the resource.
id - The Amazon Resource Name (ARN) of the resource.public String getId()
The Amazon Resource Name (ARN) of the resource.
public Resource withId(String id)
The Amazon Resource Name (ARN) of the resource.
id - The Amazon Resource Name (ARN) of the resource.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.