@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the custom resource name.
| Constructor and Description |
|---|
ResourceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
ResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
Date |
getResourceDeletionTime()
The time that the resource was deleted.
|
String |
getResourceId()
The ID of the resource (for example,
sg-xxxxxx). |
String |
getResourceName()
The custom name of the resource (if available).
|
String |
getResourceType()
The type of resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResourceDeletionTime(Date resourceDeletionTime)
The time that the resource was deleted.
|
void |
setResourceId(String resourceId)
The ID of the resource (for example,
sg-xxxxxx). |
void |
setResourceName(String resourceName)
The custom name of the resource (if available).
|
void |
setResourceType(ResourceType resourceType)
The type of resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceIdentifier |
withResourceDeletionTime(Date resourceDeletionTime)
The time that the resource was deleted.
|
ResourceIdentifier |
withResourceId(String resourceId)
The ID of the resource (for example,
sg-xxxxxx). |
ResourceIdentifier |
withResourceName(String resourceName)
The custom name of the resource (if available).
|
ResourceIdentifier |
withResourceType(ResourceType resourceType)
The type of resource.
|
ResourceIdentifier |
withResourceType(String resourceType)
The type of resource.
|
public void setResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic String getResourceType()
The type of resource.
ResourceTypepublic ResourceIdentifier withResourceType(String resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic void setResourceType(ResourceType resourceType)
The type of resource.
resourceType - The type of resource.ResourceTypepublic ResourceIdentifier withResourceType(ResourceType resourceType)
The type of resource.
resourceType - The type of resource.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).
sg-xxxxxx).public ResourceIdentifier withResourceId(String resourceId)
The ID of the resource (for example, sg-xxxxxx).
resourceId - The ID of the resource (for example, sg-xxxxxx).public void setResourceName(String resourceName)
The custom name of the resource (if available).
resourceName - The custom name of the resource (if available).public String getResourceName()
The custom name of the resource (if available).
public ResourceIdentifier withResourceName(String resourceName)
The custom name of the resource (if available).
resourceName - The custom name of the resource (if available).public void setResourceDeletionTime(Date resourceDeletionTime)
The time that the resource was deleted.
resourceDeletionTime - The time that the resource was deleted.public Date getResourceDeletionTime()
The time that the resource was deleted.
public ResourceIdentifier withResourceDeletionTime(Date resourceDeletionTime)
The time that the resource was deleted.
resourceDeletionTime - The time that the resource was deleted.public String toString()
toString in class ObjectObject.toString()public ResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.