public class UpdateMitigationActionRequest extends AmazonWebServiceRequest implements Serializable
Updates the definition for the specified mitigation action.
| Constructor and Description |
|---|
UpdateMitigationActionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getActionName()
The friendly name for the mitigation action.
|
MitigationActionParams |
getActionParams()
Defines the type of action and the parameters for that action.
|
String |
getRoleArn()
The ARN of the IAM role that is used to apply the mitigation action.
|
int |
hashCode() |
void |
setActionName(String actionName)
The friendly name for the mitigation action.
|
void |
setActionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateMitigationActionRequest |
withActionName(String actionName)
The friendly name for the mitigation action.
|
UpdateMitigationActionRequest |
withActionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
|
UpdateMitigationActionRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getActionName()
The friendly name for the mitigation action. You can't change the name by
using UpdateMitigationAction. Instead, you must delete and
re-create the mitigation action with the new name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
The friendly name for the mitigation action. You can't change the
name by using UpdateMitigationAction. Instead, you
must delete and re-create the mitigation action with the new
name.
public void setActionName(String actionName)
The friendly name for the mitigation action. You can't change the name by
using UpdateMitigationAction. Instead, you must delete and
re-create the mitigation action with the new name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName -
The friendly name for the mitigation action. You can't change
the name by using UpdateMitigationAction.
Instead, you must delete and re-create the mitigation action
with the new name.
public UpdateMitigationActionRequest withActionName(String actionName)
The friendly name for the mitigation action. You can't change the name by
using UpdateMitigationAction. Instead, you must delete and
re-create the mitigation action with the new name.
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 for the mitigation action. You can't change
the name by using UpdateMitigationAction.
Instead, you must delete and re-create the mitigation action
with the new name.
public String getRoleArn()
The ARN of the IAM role that is used to apply the mitigation action.
Constraints:
Length: 20 - 2048
The ARN of the IAM role that is used to apply the mitigation action.
public void setRoleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
Constraints:
Length: 20 - 2048
roleArn - The ARN of the IAM role that is used to apply the mitigation action.
public UpdateMitigationActionRequest withRoleArn(String roleArn)
The ARN of the IAM role that is used to apply the mitigation 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 that is used to apply the mitigation action.
public MitigationActionParams getActionParams()
Defines the type of action and the parameters for that action.
Defines the type of action and the parameters for that action.
public void setActionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
actionParams - Defines the type of action and the parameters for that action.
public UpdateMitigationActionRequest withActionParams(MitigationActionParams actionParams)
Defines the type of action and the parameters for that action.
Returns a reference to this object so that method calls can be chained together.
actionParams - Defines the type of action and the parameters for that action.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.