@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceDefaultPolicyVersionParams extends Object implements Serializable, Cloneable, StructuredPojo
Parameters to define a mitigation action that adds a blank policy to restrict permissions.
| Constructor and Description |
|---|
ReplaceDefaultPolicyVersionParams() |
| Modifier and Type | Method and Description |
|---|---|
ReplaceDefaultPolicyVersionParams |
clone() |
boolean |
equals(Object obj) |
String |
getTemplateName()
The name of the template to be applied.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTemplateName(String templateName)
The name of the template to be applied.
|
String |
toString()
Returns a string representation of this object.
|
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 void setTemplateName(String templateName)
The name of the template to be applied. The only supported value is BLANK_POLICY.
templateName - The name of the template to be applied. The only supported value is BLANK_POLICY.PolicyTemplateNamepublic String getTemplateName()
The name of the template to be applied. The only supported value is BLANK_POLICY.
BLANK_POLICY.PolicyTemplateNamepublic ReplaceDefaultPolicyVersionParams withTemplateName(String templateName)
The name of the template to be applied. The only supported value is 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.
templateName - The name of the template to be applied. The only supported value is BLANK_POLICY.PolicyTemplateNamepublic String toString()
toString in class ObjectObject.toString()public ReplaceDefaultPolicyVersionParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.