@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of a resource available on the device.
Constructor and Description |
---|
ResourceSummary() |
Modifier and Type | Method and Description |
---|---|
ResourceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getId()
The ID of the resource.
|
String |
getResourceType()
The resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setId(String id)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The resource type.
|
String |
toString()
Returns a string representation of this object.
|
ResourceSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
ResourceSummary |
withId(String id)
The ID of the resource.
|
ResourceSummary |
withResourceType(String resourceType)
The resource type.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public String getArn()
The Amazon Resource Name (ARN) of the resource.
public ResourceSummary withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public void setId(String id)
The ID of the resource.
id
- The ID of the resource.public String getId()
The ID of the resource.
public ResourceSummary withId(String id)
The ID of the resource.
id
- The ID of the resource.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public String getResourceType()
The resource type.
public ResourceSummary withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.public String toString()
toString
in class Object
Object.toString()
public ResourceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.