Class SizingBackupConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SizingBackupConfiguration.Builder,SizingBackupConfiguration>
The backup configuration for a workload used to calculate appliance sizing recommendations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static SizingBackupConfigurationfromMssqlDatabase(Consumer<SizingDatabaseBackupConfiguration.Builder> mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.static SizingBackupConfigurationfromMssqlDatabase(SizingDatabaseBackupConfiguration mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.static SizingBackupConfigurationCreate an instance of this class withnas()initialized to the given value.static SizingBackupConfigurationCreate an instance of this class withnas()initialized to the given value.static SizingBackupConfigurationfromOracleDatabase(Consumer<SizingDatabaseBackupConfiguration.Builder> oracleDatabase) Create an instance of this class withoracleDatabase()initialized to the given value.static SizingBackupConfigurationfromOracleDatabase(SizingDatabaseBackupConfiguration oracleDatabase) Create an instance of this class withoracleDatabase()initialized to the given value.static SizingBackupConfigurationfromPhysicalServer(Consumer<SizingStandardBackupConfiguration.Builder> physicalServer) Create an instance of this class withphysicalServer()initialized to the given value.static SizingBackupConfigurationfromPhysicalServer(SizingStandardBackupConfiguration physicalServer) Create an instance of this class withphysicalServer()initialized to the given value.static SizingBackupConfigurationCreate an instance of this class withvmwareVm()initialized to the given value.static SizingBackupConfigurationCreate an instance of this class withvmwareVm()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()The backup configuration for a Microsoft SQL Server database workload.nas()The backup configuration for a network-attached storage (NAS) workload.The backup configuration for an Oracle database workload.The backup configuration for a physical server workload.static Class<? extends SizingBackupConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.vmwareVm()The backup configuration for a VMware virtual machine workload.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
vmwareVm
The backup configuration for a VMware virtual machine workload.
- Returns:
- The backup configuration for a VMware virtual machine workload.
-
mssqlDatabase
The backup configuration for a Microsoft SQL Server database workload.
- Returns:
- The backup configuration for a Microsoft SQL Server database workload.
-
oracleDatabase
The backup configuration for an Oracle database workload.
- Returns:
- The backup configuration for an Oracle database workload.
-
nas
The backup configuration for a network-attached storage (NAS) workload.
- Returns:
- The backup configuration for a network-attached storage (NAS) workload.
-
physicalServer
The backup configuration for a physical server workload.
- Returns:
- The backup configuration for a physical server workload.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SizingBackupConfiguration.Builder,SizingBackupConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromVmwareVm
Create an instance of this class withvmwareVm()initialized to the given value.The backup configuration for a VMware virtual machine workload.
- Parameters:
vmwareVm- The backup configuration for a VMware virtual machine workload.
-
fromVmwareVm
public static SizingBackupConfiguration fromVmwareVm(Consumer<SizingStandardBackupConfiguration.Builder> vmwareVm) Create an instance of this class withvmwareVm()initialized to the given value.The backup configuration for a VMware virtual machine workload.
- Parameters:
vmwareVm- The backup configuration for a VMware virtual machine workload.
-
fromMssqlDatabase
public static SizingBackupConfiguration fromMssqlDatabase(SizingDatabaseBackupConfiguration mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.The backup configuration for a Microsoft SQL Server database workload.
- Parameters:
mssqlDatabase- The backup configuration for a Microsoft SQL Server database workload.
-
fromMssqlDatabase
public static SizingBackupConfiguration fromMssqlDatabase(Consumer<SizingDatabaseBackupConfiguration.Builder> mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.The backup configuration for a Microsoft SQL Server database workload.
- Parameters:
mssqlDatabase- The backup configuration for a Microsoft SQL Server database workload.
-
fromOracleDatabase
public static SizingBackupConfiguration fromOracleDatabase(SizingDatabaseBackupConfiguration oracleDatabase) Create an instance of this class withoracleDatabase()initialized to the given value.The backup configuration for an Oracle database workload.
- Parameters:
oracleDatabase- The backup configuration for an Oracle database workload.
-
fromOracleDatabase
public static SizingBackupConfiguration fromOracleDatabase(Consumer<SizingDatabaseBackupConfiguration.Builder> oracleDatabase) Create an instance of this class withoracleDatabase()initialized to the given value.The backup configuration for an Oracle database workload.
- Parameters:
oracleDatabase- The backup configuration for an Oracle database workload.
-
fromNas
Create an instance of this class withnas()initialized to the given value.The backup configuration for a network-attached storage (NAS) workload.
- Parameters:
nas- The backup configuration for a network-attached storage (NAS) workload.
-
fromNas
Create an instance of this class withnas()initialized to the given value.The backup configuration for a network-attached storage (NAS) workload.
- Parameters:
nas- The backup configuration for a network-attached storage (NAS) workload.
-
fromPhysicalServer
public static SizingBackupConfiguration fromPhysicalServer(SizingStandardBackupConfiguration physicalServer) Create an instance of this class withphysicalServer()initialized to the given value.The backup configuration for a physical server workload.
- Parameters:
physicalServer- The backup configuration for a physical server workload.
-
fromPhysicalServer
public static SizingBackupConfiguration fromPhysicalServer(Consumer<SizingStandardBackupConfiguration.Builder> physicalServer) Create an instance of this class withphysicalServer()initialized to the given value.The backup configuration for a physical server workload.
- Parameters:
physicalServer- The backup configuration for a physical server workload.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beSizingBackupConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beSizingBackupConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-