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