public class UpdateMitigationActionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates the definition for the specified mitigation action.
Constructor and Description |
---|
UpdateMitigationActionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionName()
The friendly name for the mitigation action.
|
MitigationActionParams |
getActionParams()
Defines the type of action and the parameters for that action.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that is used to apply the mitigation action.
|
int |
hashCode() |
void |
setActionName(java.lang.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(java.lang.String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateMitigationActionRequest |
withActionName(java.lang.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(java.lang.String roleArn)
The ARN of the IAM role that is used to apply the mitigation action.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getActionName()
The friendly name for the mitigation action. You cannot change the name
by using UpdateMitigationAction
. Instead, you must delete
and recreate the mitigation action with the new name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
The friendly name for the mitigation action. You cannot change
the name by using UpdateMitigationAction
. Instead,
you must delete and recreate the mitigation action with the new
name.
public void setActionName(java.lang.String actionName)
The friendly name for the mitigation action. You cannot change the name
by using UpdateMitigationAction
. Instead, you must delete
and recreate the mitigation action with the new name.
Constraints:
Length: - 128
Pattern: [a-zA-Z0-9_-]+
actionName
-
The friendly name for the mitigation action. You cannot change
the name by using UpdateMitigationAction
.
Instead, you must delete and recreate the mitigation action
with the new name.
public UpdateMitigationActionRequest withActionName(java.lang.String actionName)
The friendly name for the mitigation action. You cannot change the name
by using UpdateMitigationAction
. Instead, you must delete
and recreate 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 cannot change
the name by using UpdateMitigationAction
.
Instead, you must delete and recreate the mitigation action
with the new name.
public java.lang.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(java.lang.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(java.lang.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 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.