public class MitigationAction
extends java.lang.Object
implements java.io.Serializable
Describes which changes should be applied as part of a mitigation action.
Constructor and Description |
---|
MitigationAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MitigationActionParams |
getActionParams()
The set of parameters for this mitigation action.
|
java.lang.String |
getId()
A unique identifier for the mitigation action.
|
java.lang.String |
getName()
A user-friendly name for the mitigation action.
|
java.lang.String |
getRoleArn()
The IAM role ARN used to apply this mitigation action.
|
int |
hashCode() |
void |
setActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action.
|
void |
setId(java.lang.String id)
A unique identifier for the mitigation action.
|
void |
setName(java.lang.String name)
A user-friendly name for the mitigation action.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role ARN used to apply this mitigation action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MitigationAction |
withActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action.
|
MitigationAction |
withId(java.lang.String id)
A unique identifier for the mitigation action.
|
MitigationAction |
withName(java.lang.String name)
A user-friendly name for the mitigation action.
|
MitigationAction |
withRoleArn(java.lang.String roleArn)
The IAM role ARN used to apply this mitigation action.
|
public java.lang.String getName()
A user-friendly name for the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
A user-friendly name for the mitigation action.
public void setName(java.lang.String name)
A user-friendly name for the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
name
- A user-friendly name for the mitigation action.
public MitigationAction withName(java.lang.String name)
A user-friendly name for the mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
name
- A user-friendly name for the mitigation action.
public java.lang.String getId()
A unique identifier for the mitigation action.
A unique identifier for the mitigation action.
public void setId(java.lang.String id)
A unique identifier for the mitigation action.
id
- A unique identifier for the mitigation action.
public MitigationAction withId(java.lang.String id)
A unique identifier for the mitigation action.
Returns a reference to this object so that method calls can be chained together.
id
- A unique identifier for the mitigation action.
public java.lang.String getRoleArn()
The IAM role ARN used to apply this mitigation action.
Constraints:
Length: 20 - 2048
The IAM role ARN used to apply this mitigation action.
public void setRoleArn(java.lang.String roleArn)
The IAM role ARN used to apply this mitigation action.
Constraints:
Length: 20 - 2048
roleArn
- The IAM role ARN used to apply this mitigation action.
public MitigationAction withRoleArn(java.lang.String roleArn)
The IAM role ARN used to apply this mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The IAM role ARN used to apply this mitigation action.
public MitigationActionParams getActionParams()
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
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 MitigationAction withActionParams(MitigationActionParams actionParams)
The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
Returns a reference to this object so that method calls can be chained together.
actionParams
- The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.