Class TransferConfiguration
java.lang.Object
com.azure.resourcemanager.databox.models.TransferConfiguration
Configuration for defining the transfer of data.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the transferAllDetails property: Map of filter type and the details to transfer all data.Get the transferConfigurationType property: Type of the configuration for transfer.Get the transferFilterDetails property: Map of filter type and the details to filter.void
validate()
Validates the instance.withTransferAllDetails
(TransferConfigurationTransferAllDetails transferAllDetails) Set the transferAllDetails property: Map of filter type and the details to transfer all data.withTransferConfigurationType
(TransferConfigurationType transferConfigurationType) Set the transferConfigurationType property: Type of the configuration for transfer.withTransferFilterDetails
(TransferConfigurationTransferFilterDetails transferFilterDetails) Set the transferFilterDetails property: Map of filter type and the details to filter.
-
Constructor Details
-
TransferConfiguration
public TransferConfiguration()Creates an instance of TransferConfiguration class.
-
-
Method Details
-
transferConfigurationType
Get the transferConfigurationType property: Type of the configuration for transfer.- Returns:
- the transferConfigurationType value.
-
withTransferConfigurationType
public TransferConfiguration withTransferConfigurationType(TransferConfigurationType transferConfigurationType) Set the transferConfigurationType property: Type of the configuration for transfer.- Parameters:
transferConfigurationType
- the transferConfigurationType value to set.- Returns:
- the TransferConfiguration object itself.
-
transferFilterDetails
Get the transferFilterDetails property: Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter.- Returns:
- the transferFilterDetails value.
-
withTransferFilterDetails
public TransferConfiguration withTransferFilterDetails(TransferConfigurationTransferFilterDetails transferFilterDetails) Set the transferFilterDetails property: Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter.- Parameters:
transferFilterDetails
- the transferFilterDetails value to set.- Returns:
- the TransferConfiguration object itself.
-
transferAllDetails
Get the transferAllDetails property: Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll.- Returns:
- the transferAllDetails value.
-
withTransferAllDetails
public TransferConfiguration withTransferAllDetails(TransferConfigurationTransferAllDetails transferAllDetails) Set the transferAllDetails property: Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll.- Parameters:
transferAllDetails
- the transferAllDetails value to set.- Returns:
- the TransferConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-