public class ReplaceDefaultPolicyVersionParams
extends java.lang.Object
implements java.io.Serializable
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
| Constructor and Description |
|---|
ReplaceDefaultPolicyVersionParams() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTemplateName()
The name of the template to be applied.
|
int |
hashCode() |
void |
setTemplateName(PolicyTemplateName templateName)
The name of the template to be applied.
|
void |
setTemplateName(java.lang.String templateName)
The name of the template to be applied.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplaceDefaultPolicyVersionParams |
withTemplateName(PolicyTemplateName templateName)
The name of the template to be applied.
|
ReplaceDefaultPolicyVersionParams |
withTemplateName(java.lang.String templateName)
The name of the template to be applied.
|
public java.lang.String getTemplateName()
The name of the template to be applied. The only supported value is
BLANK_POLICY.
Constraints:
Allowed Values: BLANK_POLICY
The name of the template to be applied. The only supported value
is BLANK_POLICY.
PolicyTemplateNamepublic void setTemplateName(java.lang.String templateName)
The name of the template to be applied. The only supported value is
BLANK_POLICY.
Constraints:
Allowed Values: BLANK_POLICY
templateName -
The name of the template to be applied. The only supported
value is BLANK_POLICY.
PolicyTemplateNamepublic ReplaceDefaultPolicyVersionParams withTemplateName(java.lang.String templateName)
The name of the template to be applied. The only supported value is
BLANK_POLICY.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BLANK_POLICY
templateName -
The name of the template to be applied. The only supported
value is BLANK_POLICY.
PolicyTemplateNamepublic void setTemplateName(PolicyTemplateName templateName)
The name of the template to be applied. The only supported value is
BLANK_POLICY.
Constraints:
Allowed Values: BLANK_POLICY
templateName -
The name of the template to be applied. The only supported
value is BLANK_POLICY.
PolicyTemplateNamepublic ReplaceDefaultPolicyVersionParams withTemplateName(PolicyTemplateName templateName)
The name of the template to be applied. The only supported value is
BLANK_POLICY.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: BLANK_POLICY
templateName -
The name of the template to be applied. The only supported
value is BLANK_POLICY.
PolicyTemplateNamepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.