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