@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The ARN of a resource, and its resource type.
Constructor and Description |
---|
ResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of a resource.
|
String |
getResourceType()
The resource type of a resource, such as
AWS::EC2::Instance . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceArn(String resourceArn)
The ARN of a resource.
|
void |
setResourceType(String resourceType)
The resource type of a resource, such as
AWS::EC2::Instance . |
String |
toString()
Returns a string representation of this object.
|
ResourceIdentifier |
withResourceArn(String resourceArn)
The ARN of a resource.
|
ResourceIdentifier |
withResourceType(String resourceType)
The resource type of a resource, such as
AWS::EC2::Instance . |
public void setResourceArn(String resourceArn)
The ARN of a resource.
resourceArn
- The ARN of a resource.public String getResourceArn()
The ARN of a resource.
public ResourceIdentifier withResourceArn(String resourceArn)
The ARN of a resource.
resourceArn
- The ARN of a resource.public void setResourceType(String resourceType)
The resource type of a resource, such as AWS::EC2::Instance
.
resourceType
- The resource type of a resource, such as AWS::EC2::Instance
.public String getResourceType()
The resource type of a resource, such as AWS::EC2::Instance
.
AWS::EC2::Instance
.public ResourceIdentifier withResourceType(String resourceType)
The resource type of a resource, such as AWS::EC2::Instance
.
resourceType
- The resource type of a resource, such as AWS::EC2::Instance
.public String toString()
toString
in class Object
Object.toString()
public ResourceIdentifier clone()
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.