@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MitigationActionIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Information that identifies a mitigation action. This information is returned by ListMitigationActions.
Constructor and Description |
---|
MitigationActionIdentifier() |
Modifier and Type | Method and Description |
---|---|
MitigationActionIdentifier |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setActionName(String actionName)
The friendly name of the mitigation action.
actionName
- The friendly name of the mitigation action.public String getActionName()
The friendly name of the mitigation action.
public MitigationActionIdentifier withActionName(String actionName)
The friendly name of the mitigation action.
actionName
- The friendly name of the 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 String getActionArn()
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.
actionArn
- The IAM role ARN used to apply this mitigation action.public void setCreationDate(Date creationDate)
The date when this mitigation action was created.
creationDate
- The date when this mitigation action was created.public Date getCreationDate()
The date when this mitigation action was created.
public MitigationActionIdentifier withCreationDate(Date creationDate)
The date when this mitigation action was created.
creationDate
- The date when this mitigation action was created.public String toString()
toString
in class Object
Object.toString()
public MitigationActionIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.