@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemediationException extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details about the remediation exception. The details include the rule name, an explanation of an exception, the time when the exception will be deleted, the resource ID, and resource type.
Constructor and Description |
---|
RemediationException() |
Modifier and Type | Method and Description |
---|---|
RemediationException |
clone() |
boolean |
equals(Object obj) |
String |
getConfigRuleName()
The name of the Config rule.
|
Date |
getExpirationTime()
The time when the remediation exception will be deleted.
|
String |
getMessage()
An explanation of an remediation exception.
|
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 |
setConfigRuleName(String configRuleName)
The name of the Config rule.
|
void |
setExpirationTime(Date expirationTime)
The time when the remediation exception will be deleted.
|
void |
setMessage(String message)
An explanation of an remediation exception.
|
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.
|
RemediationException |
withConfigRuleName(String configRuleName)
The name of the Config rule.
|
RemediationException |
withExpirationTime(Date expirationTime)
The time when the remediation exception will be deleted.
|
RemediationException |
withMessage(String message)
An explanation of an remediation exception.
|
RemediationException |
withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
|
RemediationException |
withResourceType(String resourceType)
The type of a resource.
|
public void setConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.public String getConfigRuleName()
The name of the Config rule.
public RemediationException withConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.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 RemediationException 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 RemediationException withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
resourceId
- The ID of the resource (for example., sg-xxxxxx).public void setMessage(String message)
An explanation of an remediation exception.
message
- An explanation of an remediation exception.public String getMessage()
An explanation of an remediation exception.
public RemediationException withMessage(String message)
An explanation of an remediation exception.
message
- An explanation of an remediation exception.public void setExpirationTime(Date expirationTime)
The time when the remediation exception will be deleted.
expirationTime
- The time when the remediation exception will be deleted.public Date getExpirationTime()
The time when the remediation exception will be deleted.
public RemediationException withExpirationTime(Date expirationTime)
The time when the remediation exception will be deleted.
expirationTime
- The time when the remediation exception will be deleted.public String toString()
toString
in class Object
Object.toString()
public RemediationException clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.