@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityGroupRemediationAction extends Object implements Serializable, Cloneable, StructuredPojo
Remediation option for the rule specified in the ViolationTarget.
| Constructor and Description |
|---|
SecurityGroupRemediationAction() |
| Modifier and Type | Method and Description |
|---|---|
SecurityGroupRemediationAction |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Brief description of the action that will be performed.
|
Boolean |
getIsDefaultAction()
Indicates if the current action is the default action.
|
String |
getRemediationActionType()
The remediation action that will be performed.
|
SecurityGroupRuleDescription |
getRemediationResult()
The final state of the rule specified in the
ViolationTarget after it is remediated. |
int |
hashCode() |
Boolean |
isDefaultAction()
Indicates if the current action is the default action.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
Brief description of the action that will be performed.
|
void |
setIsDefaultAction(Boolean isDefaultAction)
Indicates if the current action is the default action.
|
void |
setRemediationActionType(String remediationActionType)
The remediation action that will be performed.
|
void |
setRemediationResult(SecurityGroupRuleDescription remediationResult)
The final state of the rule specified in the
ViolationTarget after it is remediated. |
String |
toString()
Returns a string representation of this object.
|
SecurityGroupRemediationAction |
withDescription(String description)
Brief description of the action that will be performed.
|
SecurityGroupRemediationAction |
withIsDefaultAction(Boolean isDefaultAction)
Indicates if the current action is the default action.
|
SecurityGroupRemediationAction |
withRemediationActionType(RemediationActionType remediationActionType)
The remediation action that will be performed.
|
SecurityGroupRemediationAction |
withRemediationActionType(String remediationActionType)
The remediation action that will be performed.
|
SecurityGroupRemediationAction |
withRemediationResult(SecurityGroupRuleDescription remediationResult)
The final state of the rule specified in the
ViolationTarget after it is remediated. |
public void setRemediationActionType(String remediationActionType)
The remediation action that will be performed.
remediationActionType - The remediation action that will be performed.RemediationActionTypepublic String getRemediationActionType()
The remediation action that will be performed.
RemediationActionTypepublic SecurityGroupRemediationAction withRemediationActionType(String remediationActionType)
The remediation action that will be performed.
remediationActionType - The remediation action that will be performed.RemediationActionTypepublic SecurityGroupRemediationAction withRemediationActionType(RemediationActionType remediationActionType)
The remediation action that will be performed.
remediationActionType - The remediation action that will be performed.RemediationActionTypepublic void setDescription(String description)
Brief description of the action that will be performed.
description - Brief description of the action that will be performed.public String getDescription()
Brief description of the action that will be performed.
public SecurityGroupRemediationAction withDescription(String description)
Brief description of the action that will be performed.
description - Brief description of the action that will be performed.public void setRemediationResult(SecurityGroupRuleDescription remediationResult)
The final state of the rule specified in the ViolationTarget after it is remediated.
remediationResult - The final state of the rule specified in the ViolationTarget after it is remediated.public SecurityGroupRuleDescription getRemediationResult()
The final state of the rule specified in the ViolationTarget after it is remediated.
ViolationTarget after it is remediated.public SecurityGroupRemediationAction withRemediationResult(SecurityGroupRuleDescription remediationResult)
The final state of the rule specified in the ViolationTarget after it is remediated.
remediationResult - The final state of the rule specified in the ViolationTarget after it is remediated.public void setIsDefaultAction(Boolean isDefaultAction)
Indicates if the current action is the default action.
isDefaultAction - Indicates if the current action is the default action.public Boolean getIsDefaultAction()
Indicates if the current action is the default action.
public SecurityGroupRemediationAction withIsDefaultAction(Boolean isDefaultAction)
Indicates if the current action is the default action.
isDefaultAction - Indicates if the current action is the default action.public Boolean isDefaultAction()
Indicates if the current action is the default action.
public String toString()
toString in class ObjectObject.toString()public SecurityGroupRemediationAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.