Class ResourceTargetConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceTargetConfiguration.Builder,ResourceTargetConfiguration>
The backup configuration for a resource target, according to its type.
- 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 ResourceTargetConfigurationCreate an instance of this class withmssqlDatabase()initialized to the given value.static ResourceTargetConfigurationfromMssqlDatabase(ResourceTargetConfigurationForMssqlDatabase mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.static ResourceTargetConfigurationCreate an instance of this class withnasFilesystem()initialized to the given value.static ResourceTargetConfigurationfromNasFilesystem(ResourceTargetConfigurationForNasFilesystem nasFilesystem) Create an instance of this class withnasFilesystem()initialized to the given value.static ResourceTargetConfigurationfromOracledbDatabase(Consumer<ResourceTargetConfigurationForOracledbDatabase.Builder> oracledbDatabase) Create an instance of this class withoracledbDatabase()initialized to the given value.static ResourceTargetConfigurationfromOracledbDatabase(ResourceTargetConfigurationForOracledbDatabase oracledbDatabase) Create an instance of this class withoracledbDatabase()initialized to the given value.static ResourceTargetConfigurationfromServerFilesystem(Consumer<ResourceTargetConfigurationForServerFilesystem.Builder> serverFilesystem) Create an instance of this class withserverFilesystem()initialized to the given value.static ResourceTargetConfigurationfromServerFilesystem(ResourceTargetConfigurationForServerFilesystem serverFilesystem) Create an instance of this class withserverFilesystem()initialized to the given value.static ResourceTargetConfigurationCreate an instance of this class withvmwareVm()initialized to the given value.static ResourceTargetConfigurationCreate 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.The backup configuration for a network-attached storage (NAS) filesystem.The backup configuration for an Oracle database.static Class<? extends ResourceTargetConfiguration.Builder> The backup configuration for a server filesystem.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.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
mssqlDatabase
The backup configuration for a Microsoft SQL Server database.
- Returns:
- The backup configuration for a Microsoft SQL Server database.
-
nasFilesystem
The backup configuration for a network-attached storage (NAS) filesystem.
- Returns:
- The backup configuration for a network-attached storage (NAS) filesystem.
-
oracledbDatabase
The backup configuration for an Oracle database.
- Returns:
- The backup configuration for an Oracle database.
-
serverFilesystem
The backup configuration for a server filesystem.
- Returns:
- The backup configuration for a server filesystem.
-
vmwareVm
The backup configuration for a VMware virtual machine.
- Returns:
- The backup configuration for a VMware virtual machine.
-
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<ResourceTargetConfiguration.Builder,ResourceTargetConfiguration> - 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
-
fromMssqlDatabase
public static ResourceTargetConfiguration fromMssqlDatabase(ResourceTargetConfigurationForMssqlDatabase mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.The backup configuration for a Microsoft SQL Server database.
- Parameters:
mssqlDatabase- The backup configuration for a Microsoft SQL Server database.
-
fromMssqlDatabase
public static ResourceTargetConfiguration fromMssqlDatabase(Consumer<ResourceTargetConfigurationForMssqlDatabase.Builder> mssqlDatabase) Create an instance of this class withmssqlDatabase()initialized to the given value.The backup configuration for a Microsoft SQL Server database.
- Parameters:
mssqlDatabase- The backup configuration for a Microsoft SQL Server database.
-
fromNasFilesystem
public static ResourceTargetConfiguration fromNasFilesystem(ResourceTargetConfigurationForNasFilesystem nasFilesystem) Create an instance of this class withnasFilesystem()initialized to the given value.The backup configuration for a network-attached storage (NAS) filesystem.
- Parameters:
nasFilesystem- The backup configuration for a network-attached storage (NAS) filesystem.
-
fromNasFilesystem
public static ResourceTargetConfiguration fromNasFilesystem(Consumer<ResourceTargetConfigurationForNasFilesystem.Builder> nasFilesystem) Create an instance of this class withnasFilesystem()initialized to the given value.The backup configuration for a network-attached storage (NAS) filesystem.
- Parameters:
nasFilesystem- The backup configuration for a network-attached storage (NAS) filesystem.
-
fromOracledbDatabase
public static ResourceTargetConfiguration fromOracledbDatabase(ResourceTargetConfigurationForOracledbDatabase oracledbDatabase) Create an instance of this class withoracledbDatabase()initialized to the given value.The backup configuration for an Oracle database.
- Parameters:
oracledbDatabase- The backup configuration for an Oracle database.
-
fromOracledbDatabase
public static ResourceTargetConfiguration fromOracledbDatabase(Consumer<ResourceTargetConfigurationForOracledbDatabase.Builder> oracledbDatabase) Create an instance of this class withoracledbDatabase()initialized to the given value.The backup configuration for an Oracle database.
- Parameters:
oracledbDatabase- The backup configuration for an Oracle database.
-
fromServerFilesystem
public static ResourceTargetConfiguration fromServerFilesystem(ResourceTargetConfigurationForServerFilesystem serverFilesystem) Create an instance of this class withserverFilesystem()initialized to the given value.The backup configuration for a server filesystem.
- Parameters:
serverFilesystem- The backup configuration for a server filesystem.
-
fromServerFilesystem
public static ResourceTargetConfiguration fromServerFilesystem(Consumer<ResourceTargetConfigurationForServerFilesystem.Builder> serverFilesystem) Create an instance of this class withserverFilesystem()initialized to the given value.The backup configuration for a server filesystem.
- Parameters:
serverFilesystem- The backup configuration for a server filesystem.
-
fromVmwareVm
public static ResourceTargetConfiguration fromVmwareVm(ResourceTargetConfigurationForVmwareVm vmwareVm) Create an instance of this class withvmwareVm()initialized to the given value.The backup configuration for a VMware virtual machine.
- Parameters:
vmwareVm- The backup configuration for a VMware virtual machine.
-
fromVmwareVm
public static ResourceTargetConfiguration fromVmwareVm(Consumer<ResourceTargetConfigurationForVmwareVm.Builder> vmwareVm) Create an instance of this class withvmwareVm()initialized to the given value.The backup configuration for a VMware virtual machine.
- Parameters:
vmwareVm- The backup configuration for a VMware virtual machine.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beResourceTargetConfiguration.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 beResourceTargetConfiguration.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.
-