Class ResourceIdentifier
java.lang.Object
com.amazonaws.services.config.model.ResourceIdentifier
- All Implemented Interfaces:
Serializable, Cloneable
The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe time that the resource was deleted.The ID of the resource (for example.,sg-xxxxxx).The custom name of the resource (if available).The type of resource.inthashCode()voidsetResourceDeletionTime(Date resourceDeletionTime) The time that the resource was deleted.voidsetResourceId(String resourceId) The ID of the resource (for example.,sg-xxxxxx).voidsetResourceName(String resourceName) The custom name of the resource (if available).voidsetResourceType(ResourceType resourceType) The type of resource.voidsetResourceType(String resourceType) The type of resource.toString()Returns a string representation of this object; useful for testing and debugging.withResourceDeletionTime(Date resourceDeletionTime) The time that the resource was deleted.withResourceId(String resourceId) The ID of the resource (for example.,sg-xxxxxx).withResourceName(String resourceName) The custom name of the resource (if available).withResourceType(ResourceType resourceType) The type of resource.withResourceType(String resourceType) The type of resource.
-
Constructor Details
-
ResourceIdentifier
public ResourceIdentifier()
-
-
Method Details
-
setResourceType
The type of resource.
- Parameters:
resourceType- The type of resource.- See Also:
-
getResourceType
-
withResourceType
The type of resource.
- Parameters:
resourceType- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceType
The type of resource.
- Parameters:
resourceType- The type of resource.- See Also:
-
withResourceType
The type of resource.
- Parameters:
resourceType- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setResourceId
The ID of the resource (for example.,
sg-xxxxxx).- Parameters:
resourceId- The ID of the resource (for example.,sg-xxxxxx).
-
getResourceId
The ID of the resource (for example.,
sg-xxxxxx).- Returns:
- The ID of the resource (for example.,
sg-xxxxxx).
-
withResourceId
The ID of the resource (for example.,
sg-xxxxxx).- Parameters:
resourceId- The ID of the resource (for example.,sg-xxxxxx).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceName
The custom name of the resource (if available).
- Parameters:
resourceName- The custom name of the resource (if available).
-
getResourceName
The custom name of the resource (if available).
- Returns:
- The custom name of the resource (if available).
-
withResourceName
The custom name of the resource (if available).
- Parameters:
resourceName- The custom name of the resource (if available).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceDeletionTime
The time that the resource was deleted.
- Parameters:
resourceDeletionTime- The time that the resource was deleted.
-
getResourceDeletionTime
The time that the resource was deleted.
- Returns:
- The time that the resource was deleted.
-
withResourceDeletionTime
The time that the resource was deleted.
- Parameters:
resourceDeletionTime- The time that the resource was deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-