@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackupPolicy extends Object implements Serializable, Cloneable, StructuredPojo
The backup policy for the file system used to create automatic daily backups. If status has a value of
ENABLED, the file system is being automatically backed up. For more information, see Automatic backups.
| Constructor and Description |
|---|
BackupPolicy() |
| Modifier and Type | Method and Description |
|---|---|
BackupPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Describes the status of the file system's backup policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus(String status)
Describes the status of the file system's backup policy.
|
String |
toString()
Returns a string representation of this object.
|
BackupPolicy |
withStatus(Status status)
Describes the status of the file system's backup policy.
|
BackupPolicy |
withStatus(String status)
Describes the status of the file system's backup policy.
|
public void setStatus(String status)
Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
status - Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
Statuspublic String getStatus()
Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
Statuspublic BackupPolicy withStatus(String status)
Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
status - Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
Statuspublic BackupPolicy withStatus(Status status)
Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
status - Describes the status of the file system's backup policy.
ENABLED – EFS is automatically backing up the file system.
ENABLING – EFS is turning on automatic backups for the file system.
DISABLED – Automatic back ups are turned off for the file system.
DISABLING – EFS is turning off automatic backups for the file system.
Statuspublic String toString()
toString in class ObjectObject.toString()public BackupPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.