@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemediationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details about the remediation configuration that includes the remediation action, parameters, and data to execute the action.
Constructor and Description |
---|
RemediationConfiguration() |
Modifier and Type | Method and Description |
---|---|
RemediationConfiguration |
addParametersEntry(String key,
RemediationParameterValue value) |
RemediationConfiguration |
clearParametersEntries()
Removes all the entries added into Parameters.
|
RemediationConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getConfigRuleName()
The name of the AWS Config rule.
|
Map<String,RemediationParameterValue> |
getParameters()
An object of the RemediationParameterValue.
|
String |
getResourceType()
The type of a resource.
|
String |
getTargetId()
Target ID is the name of the public document.
|
String |
getTargetType()
The type of the target.
|
String |
getTargetVersion()
Version of the target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
void |
setParameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
|
void |
setResourceType(String resourceType)
The type of a resource.
|
void |
setTargetId(String targetId)
Target ID is the name of the public document.
|
void |
setTargetType(String targetType)
The type of the target.
|
void |
setTargetVersion(String targetVersion)
Version of the target.
|
String |
toString()
Returns a string representation of this object.
|
RemediationConfiguration |
withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
|
RemediationConfiguration |
withParameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
|
RemediationConfiguration |
withResourceType(String resourceType)
The type of a resource.
|
RemediationConfiguration |
withTargetId(String targetId)
Target ID is the name of the public document.
|
RemediationConfiguration |
withTargetType(RemediationTargetType targetType)
The type of the target.
|
RemediationConfiguration |
withTargetType(String targetType)
The type of the target.
|
RemediationConfiguration |
withTargetVersion(String targetVersion)
Version of the target.
|
public void setConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public String getConfigRuleName()
The name of the AWS Config rule.
public RemediationConfiguration withConfigRuleName(String configRuleName)
The name of the AWS Config rule.
configRuleName
- The name of the AWS Config rule.public void setTargetType(String targetType)
The type of the target. Target executes remediation. For example, SSM document.
targetType
- The type of the target. Target executes remediation. For example, SSM document.RemediationTargetType
public String getTargetType()
The type of the target. Target executes remediation. For example, SSM document.
RemediationTargetType
public RemediationConfiguration withTargetType(String targetType)
The type of the target. Target executes remediation. For example, SSM document.
targetType
- The type of the target. Target executes remediation. For example, SSM document.RemediationTargetType
public RemediationConfiguration withTargetType(RemediationTargetType targetType)
The type of the target. Target executes remediation. For example, SSM document.
targetType
- The type of the target. Target executes remediation. For example, SSM document.RemediationTargetType
public void setTargetId(String targetId)
Target ID is the name of the public document.
targetId
- Target ID is the name of the public document.public String getTargetId()
Target ID is the name of the public document.
public RemediationConfiguration withTargetId(String targetId)
Target ID is the name of the public document.
targetId
- Target ID is the name of the public document.public void setTargetVersion(String targetVersion)
Version of the target. For example, version of the SSM document.
targetVersion
- Version of the target. For example, version of the SSM document.public String getTargetVersion()
Version of the target. For example, version of the SSM document.
public RemediationConfiguration withTargetVersion(String targetVersion)
Version of the target. For example, version of the SSM document.
targetVersion
- Version of the target. For example, version of the SSM document.public Map<String,RemediationParameterValue> getParameters()
An object of the RemediationParameterValue.
public void setParameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
parameters
- An object of the RemediationParameterValue.public RemediationConfiguration withParameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
parameters
- An object of the RemediationParameterValue.public RemediationConfiguration addParametersEntry(String key, RemediationParameterValue value)
public RemediationConfiguration clearParametersEntries()
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 RemediationConfiguration withResourceType(String resourceType)
The type of a resource.
resourceType
- The type of a resource.public String toString()
toString
in class Object
Object.toString()
public RemediationConfiguration 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.