@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VaultLockPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Contains the vault lock policy.
| Constructor and Description |
|---|
VaultLockPolicy() |
| Modifier and Type | Method and Description |
|---|---|
VaultLockPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The vault lock policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPolicy(String policy)
The vault lock policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VaultLockPolicy |
withPolicy(String policy)
The vault lock policy.
|
public void setPolicy(String policy)
The vault lock policy.
policy - The vault lock policy.public String getPolicy()
The vault lock policy.
public VaultLockPolicy withPolicy(String policy)
The vault lock policy.
policy - The vault lock policy.public String toString()
toString in class ObjectObject.toString()public VaultLockPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.