@Generated(value="software.amazon.awssdk:codegen") public final class AwsBackupBackupPlanAdvancedBackupSettingsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder,AwsBackupBackupPlanAdvancedBackupSettingsDetails>
Provides a list of backup options for each resource type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
backupOptions()
Specifies the backup option for a selected resource.
|
static AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBackupOptions()
For responses, this returns true if the service returned a value for the BackupOptions property.
|
int |
hashCode() |
String |
resourceType()
The name of a resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder> |
serializableBuilderClass() |
AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasBackupOptions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> backupOptions()
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs. Valid values are as follows:
Set to WindowsVSS: enabled to enable the WindowsVSS backup option and create a Windows VSS backup.
Set to WindowsVSS: disabled to create a regular backup. The WindowsVSS option is not
enabled by default.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBackupOptions() method.
Set to WindowsVSS: enabled to enable the WindowsVSS backup option and create a Windows VSS
backup.
Set to WindowsVSS: disabled to create a regular backup. The WindowsVSS option
is not enabled by default.
public final String resourceType()
The name of a resource type. The only supported resource type is Amazon EC2 instances with Windows VSS.
The only valid value is EC2.
The only valid value is EC2.
public AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder toBuilder()
public static AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder builder()
public static Class<? extends AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.