@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MitigationAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes which changes should be applied as part of a mitigation action.
Constructor and Description |
---|
MitigationAction() |
Modifier and Type | Method and Description |
---|---|
MitigationAction |
clone() |
boolean |
equals(Object obj) |
MitigationActionParams |
getActionParams()
The set of parameters for this mitigation action.
|
String |
getId()
A unique identifier for the mitigation action.
|
String |
getName()
A user-friendly name for the mitigation action.
|
String |
getRoleArn()
The IAM role ARN used to apply this mitigation action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action.
|
void |
setId(String id)
A unique identifier for the mitigation action.
|
void |
setName(String name)
A user-friendly name for the mitigation action.
|
void |
setRoleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
|
String |
toString()
Returns a string representation of this object.
|
MitigationAction |
withActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action.
|
MitigationAction |
withId(String id)
A unique identifier for the mitigation action.
|
MitigationAction |
withName(String name)
A user-friendly name for the mitigation action.
|
MitigationAction |
withRoleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
|
public void setName(String name)
A user-friendly name for the mitigation action.
name
- A user-friendly name for the mitigation action.public String getName()
A user-friendly name for the mitigation action.
public MitigationAction withName(String name)
A user-friendly name for the mitigation action.
name
- A user-friendly name for the mitigation action.public void setId(String id)
A unique identifier for the mitigation action.
id
- A unique identifier for the mitigation action.public String getId()
A unique identifier for the mitigation action.
public MitigationAction withId(String id)
A unique identifier for the mitigation action.
id
- A unique identifier for the mitigation action.public void setRoleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
roleArn
- The IAM role ARN used to apply this mitigation action.public String getRoleArn()
The IAM role ARN used to apply this mitigation action.
public MitigationAction withRoleArn(String roleArn)
The IAM role ARN used to apply this mitigation action.
roleArn
- The IAM role ARN used to apply this mitigation action.public void setActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
actionParams
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you
apply.public MitigationActionParams getActionParams()
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
public MitigationAction withActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
actionParams
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you
apply.public String toString()
toString
in class Object
Object.toString()
public MitigationAction 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.