@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.
|
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 Object
Object.toString()
public VaultLockPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.