public class ReplaceDefaultPolicyVersionParams extends Object implements 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(Object obj) |
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(String templateName)
The name of the template to be applied.
|
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(String templateName)
The name of the template to be applied.
|
public 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.