@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetentionPolicy extends Object implements Serializable, Cloneable, StructuredPojo
The retention policy for data stored on an Amazon Elastic File System volume.
| Constructor and Description |
|---|
RetentionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
RetentionPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getHomeEfsFileSystem()
The default is
Retain, which specifies to keep the data stored on the Amazon EFS volume. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHomeEfsFileSystem(String homeEfsFileSystem)
The default is
Retain, which specifies to keep the data stored on the Amazon EFS volume. |
String |
toString()
Returns a string representation of this object.
|
RetentionPolicy |
withHomeEfsFileSystem(RetentionType homeEfsFileSystem)
The default is
Retain, which specifies to keep the data stored on the Amazon EFS volume. |
RetentionPolicy |
withHomeEfsFileSystem(String homeEfsFileSystem)
The default is
Retain, which specifies to keep the data stored on the Amazon EFS volume. |
public void setHomeEfsFileSystem(String homeEfsFileSystem)
The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
homeEfsFileSystem - The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
RetentionTypepublic String getHomeEfsFileSystem()
The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
RetentionTypepublic RetentionPolicy withHomeEfsFileSystem(String homeEfsFileSystem)
The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
homeEfsFileSystem - The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
RetentionTypepublic RetentionPolicy withHomeEfsFileSystem(RetentionType homeEfsFileSystem)
The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
homeEfsFileSystem - The default is Retain, which specifies to keep the data stored on the Amazon EFS volume.
Specify Delete to delete the data stored on the Amazon EFS volume.
RetentionTypepublic String toString()
toString in class ObjectObject.toString()public RetentionPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.