@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; useful for testing and debugging.
|
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.