public class MitigationActionIdentifier
extends java.lang.Object
implements java.io.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(java.lang.Object obj) |
java.lang.String |
getActionArn()
The IAM role ARN used to apply this mitigation action.
|
java.lang.String |
getActionName()
The friendly name of the mitigation action.
|
java.util.Date |
getCreationDate()
The date when this mitigation action was created.
|
int |
hashCode() |
void |
setActionArn(java.lang.String actionArn)
The IAM role ARN used to apply this mitigation action.
|
void |
setActionName(java.lang.String actionName)
The friendly name of the mitigation action.
|
void |
setCreationDate(java.util.Date creationDate)
The date when this mitigation action was created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MitigationActionIdentifier |
withActionArn(java.lang.String actionArn)
The IAM role ARN used to apply this mitigation action.
|
MitigationActionIdentifier |
withActionName(java.lang.String actionName)
The friendly name of the mitigation action.
|
MitigationActionIdentifier |
withCreationDate(java.util.Date creationDate)
The date when this mitigation action was created.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.Date getCreationDate()
The date when this mitigation action was created.
The date when this mitigation action was created.
public void setCreationDate(java.util.Date creationDate)
The date when this mitigation action was created.
creationDate
- The date when this mitigation action was created.
public MitigationActionIdentifier withCreationDate(java.util.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 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.