public class DescribeMitigationActionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeMitigationActionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionArn()
The ARN that identifies this migration action.
|
java.lang.String |
getActionId()
A unique identifier for this action.
|
java.lang.String |
getActionName()
The friendly name that uniquely identifies the mitigation action.
|
MitigationActionParams |
getActionParams()
Parameters that control how the mitigation action is applied, specific to
the type of mitigation action.
|
java.lang.String |
getActionType()
The type of mitigation action.
|
java.util.Date |
getCreationDate()
The date and time when the mitigation action was added to your AWS
account.
|
java.util.Date |
getLastModifiedDate()
The date and time when the mitigation action was last changed.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role used to apply this action.
|
int |
hashCode() |
void |
setActionArn(java.lang.String actionArn)
The ARN that identifies this migration action.
|
void |
setActionId(java.lang.String actionId)
A unique identifier for this action.
|
void |
setActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
|
void |
setActionParams(MitigationActionParams actionParams)
Parameters that control how the mitigation action is applied, specific to
the type of mitigation action.
|
void |
setActionType(MitigationActionType actionType)
The type of mitigation action.
|
void |
setActionType(java.lang.String actionType)
The type of mitigation action.
|
void |
setCreationDate(java.util.Date creationDate)
The date and time when the mitigation action was added to your AWS
account.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time when the mitigation action was last changed.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the IAM role used to apply this action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMitigationActionResult |
withActionArn(java.lang.String actionArn)
The ARN that identifies this migration action.
|
DescribeMitigationActionResult |
withActionId(java.lang.String actionId)
A unique identifier for this action.
|
DescribeMitigationActionResult |
withActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
|
DescribeMitigationActionResult |
withActionParams(MitigationActionParams actionParams)
Parameters that control how the mitigation action is applied, specific to
the type of mitigation action.
|
DescribeMitigationActionResult |
withActionType(MitigationActionType actionType)
The type of mitigation action.
|
DescribeMitigationActionResult |
withActionType(java.lang.String actionType)
The type of mitigation action.
|
DescribeMitigationActionResult |
withCreationDate(java.util.Date creationDate)
The date and time when the mitigation action was added to your AWS
account.
|
DescribeMitigationActionResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time when the mitigation action was last changed.
|
DescribeMitigationActionResult |
withRoleArn(java.lang.String roleArn)
The ARN of the IAM role used to apply this action.
|
public java.lang.String getActionName()
The friendly name that uniquely identifies the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
The friendly name that uniquely identifies the mitigation action.
public void setActionName(java.lang.String actionName)
The friendly name that uniquely identifies the mitigation action.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName
- The friendly name that uniquely identifies the mitigation action.
public DescribeMitigationActionResult withActionName(java.lang.String actionName)
The friendly name that uniquely identifies 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 that uniquely identifies the mitigation action.
public java.lang.String getActionType()
The type of mitigation action.
Constraints:
Allowed Values: UPDATE_DEVICE_CERTIFICATE, UPDATE_CA_CERTIFICATE,
ADD_THINGS_TO_THING_GROUP, REPLACE_DEFAULT_POLICY_VERSION,
ENABLE_IOT_LOGGING, PUBLISH_FINDING_TO_SNS
The type of mitigation action.
MitigationActionType
public void setActionType(java.lang.String actionType)
The type of mitigation action.
Constraints:
Allowed Values: UPDATE_DEVICE_CERTIFICATE, UPDATE_CA_CERTIFICATE,
ADD_THINGS_TO_THING_GROUP, REPLACE_DEFAULT_POLICY_VERSION,
ENABLE_IOT_LOGGING, PUBLISH_FINDING_TO_SNS
actionType
- The type of mitigation action.
MitigationActionType
public DescribeMitigationActionResult withActionType(java.lang.String actionType)
The type of mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UPDATE_DEVICE_CERTIFICATE, UPDATE_CA_CERTIFICATE,
ADD_THINGS_TO_THING_GROUP, REPLACE_DEFAULT_POLICY_VERSION,
ENABLE_IOT_LOGGING, PUBLISH_FINDING_TO_SNS
actionType
- The type of mitigation action.
MitigationActionType
public void setActionType(MitigationActionType actionType)
The type of mitigation action.
Constraints:
Allowed Values: UPDATE_DEVICE_CERTIFICATE, UPDATE_CA_CERTIFICATE,
ADD_THINGS_TO_THING_GROUP, REPLACE_DEFAULT_POLICY_VERSION,
ENABLE_IOT_LOGGING, PUBLISH_FINDING_TO_SNS
actionType
- The type of mitigation action.
MitigationActionType
public DescribeMitigationActionResult withActionType(MitigationActionType actionType)
The type of mitigation action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UPDATE_DEVICE_CERTIFICATE, UPDATE_CA_CERTIFICATE,
ADD_THINGS_TO_THING_GROUP, REPLACE_DEFAULT_POLICY_VERSION,
ENABLE_IOT_LOGGING, PUBLISH_FINDING_TO_SNS
actionType
- The type of mitigation action.
MitigationActionType
public java.lang.String getActionArn()
The ARN that identifies this migration action.
The ARN that identifies this migration action.
public void setActionArn(java.lang.String actionArn)
The ARN that identifies this migration action.
actionArn
- The ARN that identifies this migration action.
public DescribeMitigationActionResult withActionArn(java.lang.String actionArn)
The ARN that identifies this migration action.
Returns a reference to this object so that method calls can be chained together.
actionArn
- The ARN that identifies this migration action.
public java.lang.String getActionId()
A unique identifier for this action.
A unique identifier for this action.
public void setActionId(java.lang.String actionId)
A unique identifier for this action.
actionId
- A unique identifier for this action.
public DescribeMitigationActionResult withActionId(java.lang.String actionId)
A unique identifier for this action.
Returns a reference to this object so that method calls can be chained together.
actionId
- A unique identifier for this action.
public java.lang.String getRoleArn()
The ARN of the IAM role used to apply this action.
Constraints:
Length: 20 - 2048
The ARN of the IAM role used to apply this action.
public void setRoleArn(java.lang.String roleArn)
The ARN of the IAM role used to apply this action.
Constraints:
Length: 20 - 2048
roleArn
- The ARN of the IAM role used to apply this action.
public DescribeMitigationActionResult withRoleArn(java.lang.String roleArn)
The ARN of the IAM role used to apply this action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The ARN of the IAM role used to apply this action.
public MitigationActionParams getActionParams()
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
public void setActionParams(MitigationActionParams actionParams)
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
actionParams
- Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
public DescribeMitigationActionResult withActionParams(MitigationActionParams actionParams)
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
Returns a reference to this object so that method calls can be chained together.
actionParams
- Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
public java.util.Date getCreationDate()
The date and time when the mitigation action was added to your AWS account.
The date and time when the mitigation action was added to your AWS account.
public void setCreationDate(java.util.Date creationDate)
The date and time when the mitigation action was added to your AWS account.
creationDate
- The date and time when the mitigation action was added to your AWS account.
public DescribeMitigationActionResult withCreationDate(java.util.Date creationDate)
The date and time when the mitigation action was added to your AWS account.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date and time when the mitigation action was added to your AWS account.
public java.util.Date getLastModifiedDate()
The date and time when the mitigation action was last changed.
The date and time when the mitigation action was last changed.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time when the mitigation action was last changed.
lastModifiedDate
- The date and time when the mitigation action was last changed.
public DescribeMitigationActionResult withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time when the mitigation action was last changed.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date and time when the mitigation action was last changed.
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.