@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceKey extends Object implements Serializable, Cloneable, StructuredPojo
The details that identify a resource within Config, including the resource type and resource ID.
| Constructor and Description | 
|---|
| ResourceKey() | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceKey | clone() | 
| boolean | equals(Object obj) | 
| String | getResourceId()
 The ID of the resource (for example., sg-xxxxxx). | 
| String | getResourceType()
 The resource type. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setResourceId(String resourceId)
 The ID of the resource (for example., sg-xxxxxx). | 
| void | setResourceType(String resourceType)
 The resource type. | 
| String | toString()Returns a string representation of this object. | 
| ResourceKey | withResourceId(String resourceId)
 The ID of the resource (for example., sg-xxxxxx). | 
| ResourceKey | withResourceType(ResourceType resourceType)
 The resource type. | 
| ResourceKey | withResourceType(String resourceType)
 The resource type. | 
public void setResourceType(String resourceType)
The resource type.
resourceType - The resource type.ResourceTypepublic String getResourceType()
The resource type.
ResourceTypepublic ResourceKey withResourceType(String resourceType)
The resource type.
resourceType - The resource type.ResourceTypepublic ResourceKey withResourceType(ResourceType resourceType)
The resource type.
resourceType - The resource type.ResourceTypepublic void setResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
resourceId - The ID of the resource (for example., sg-xxxxxx).public String getResourceId()
The ID of the resource (for example., sg-xxxxxx).
public ResourceKey withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
resourceId - The ID of the resource (for example., sg-xxxxxx).public String toString()
toString in class ObjectObject.toString()public ResourceKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.