@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 AWS 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; useful for testing and debugging.
|
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.ResourceType
public String getResourceType()
The type of resource.
ResourceType
public ResourceIdentifier withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public void setResourceType(ResourceType resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public ResourceIdentifier withResourceType(ResourceType resourceType)
The type of resource.
resourceType
- The type of resource.ResourceType
public 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 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.