@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
.PolicyTemplateName
public String getTemplateName()
The name of the template to be applied. The only supported value is BLANK_POLICY
.
BLANK_POLICY
.PolicyTemplateName
public 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
.PolicyTemplateName
public 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
.PolicyTemplateName
public String toString()
toString
in class Object
Object.toString()
public ReplaceDefaultPolicyVersionParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.