@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the resource.
Constructor and Description |
---|
ResourceInfo() |
Modifier and Type | Method and Description |
---|---|
ResourceInfo |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon resource name (ARN) that specifies the resource across services.
|
String |
getName()
The name of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
|
void |
setName(String name)
The name of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceInfo |
withArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
|
ResourceInfo |
withName(String name)
The name of the resource.
|
public void setName(String name)
The name of the resource.
name
- The name of the resource.public String getName()
The name of the resource.
public ResourceInfo withName(String name)
The name of the resource.
name
- The name of the resource.public void setArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
arn
- The Amazon resource name (ARN) that specifies the resource across services.public String getArn()
The Amazon resource name (ARN) that specifies the resource across services.
public ResourceInfo withArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
arn
- The Amazon resource name (ARN) that specifies the resource across services.public String toString()
toString
in class Object
Object.toString()
public ResourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.