public class MitigationActionIdentifier extends Object implements Serializable
Information that identifies a mitigation action. This information is returned by ListMitigationActions.
| Constructor and Description |
|---|
MitigationActionIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getActionArn()
The IAM role ARN used to apply this mitigation action.
|
String |
getActionName()
The friendly name of the mitigation action.
|
Date |
getCreationDate()
The date when this mitigation action was created.
|
int |
hashCode() |
void |
setActionArn(String actionArn)
The IAM role ARN used to apply this mitigation action.
|
void |
setActionName(String actionName)
The friendly name of the mitigation action.
|
void |
setCreationDate(Date creationDate)
The date when this mitigation action was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MitigationActionIdentifier |
withActionArn(String actionArn)
The IAM role ARN used to apply this mitigation action.
|
MitigationActionIdentifier |
withActionName(String actionName)
The friendly name of the mitigation action.
|
MitigationActionIdentifier |
withCreationDate(Date creationDate)
The date when this mitigation action was created.
|
public String getActionName()
The friendly name of the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
The friendly name of the mitigation action.
public void setActionName(String actionName)
The friendly name of the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName - The friendly name of the mitigation action.
public MitigationActionIdentifier withActionName(String actionName)
The friendly name of 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_-]+
actionName - The friendly name of the mitigation action.
public String getActionArn()
The IAM role ARN used to apply this mitigation action.
The IAM role ARN used to apply this mitigation action.
public void setActionArn(String actionArn)
The IAM role ARN used to apply this mitigation action.
actionArn - The IAM role ARN used to apply this mitigation action.
public MitigationActionIdentifier withActionArn(String actionArn)
The IAM role ARN used to apply this mitigation action.
Returns a reference to this object so that method calls can be chained together.
actionArn - The IAM role ARN used to apply this mitigation action.
public Date getCreationDate()
The date when this mitigation action was created.
The date when this mitigation action was created.
public void setCreationDate(Date creationDate)
The date when this mitigation action was created.
creationDate - The date when this mitigation action was created.
public MitigationActionIdentifier withCreationDate(Date creationDate)
The date when this mitigation action was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The date when this mitigation action was created.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.