@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Defines a resource identifier for the drifted resource.
Constructor and Description |
---|
ResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
LogicalResourceId |
getLogicalResourceId()
Logical identifier of the drifted resource.
|
String |
getResourceType()
Type of the drifted resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogicalResourceId(LogicalResourceId logicalResourceId)
Logical identifier of the drifted resource.
|
void |
setResourceType(String resourceType)
Type of the drifted resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceIdentifier |
withLogicalResourceId(LogicalResourceId logicalResourceId)
Logical identifier of the drifted resource.
|
ResourceIdentifier |
withResourceType(String resourceType)
Type of the drifted resource.
|
public void setLogicalResourceId(LogicalResourceId logicalResourceId)
Logical identifier of the drifted resource.
logicalResourceId
- Logical identifier of the drifted resource.public LogicalResourceId getLogicalResourceId()
Logical identifier of the drifted resource.
public ResourceIdentifier withLogicalResourceId(LogicalResourceId logicalResourceId)
Logical identifier of the drifted resource.
logicalResourceId
- Logical identifier of the drifted resource.public void setResourceType(String resourceType)
Type of the drifted resource.
resourceType
- Type of the drifted resource.public String getResourceType()
Type of the drifted resource.
public ResourceIdentifier withResourceType(String resourceType)
Type of the drifted resource.
resourceType
- Type of the drifted resource.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.