@Generated(value="software.amazon.awssdk:codegen") public final class BackupPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BackupPolicy.Builder,BackupPolicy>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BackupPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BackupPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BackupPolicy.Builder> |
serializableBuilderClass() |
Status |
status()
Describes the status of the file system's backup policy.
|
String |
statusAsString()
Describes the status of the file system's backup policy.
|
BackupPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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 final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BackupPolicy.Builder,BackupPolicy>public static BackupPolicy.Builder builder()
public static Class<? extends BackupPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.