DataBoxJobDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. JobDetails - com.
azure. resourcemanager. databox. models. DataBoxJobDetails
- com.
- com.
public final class DataBoxJobDetails
extends JobDetails
Databox Job Details.
Constructor Summary
| Constructor | Description |
|---|---|
| DataBoxJobDetails() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Copy |
copyProgress()
Get the copy |
| String |
devicePassword()
Get the device |
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
|
Class |
jobDetailsType()
Get the job |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Data |
withContactDetails(ContactDetails contactDetails)
Set the contact |
|
Data |
withDataExportDetails(List<DataExportDetails> dataExportDetails)
Set the data |
|
Data |
withDataImportDetails(List<DataImportDetails> dataImportDetails)
Set the data |
|
Data |
withDevicePassword(String devicePassword)
Set the device |
|
Data |
withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)
Set the expected |
|
Data |
withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the key |
|
Data |
withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order. |
|
Data |
withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverse |
|
Data |
withShippingAddress(ShippingAddress shippingAddress)
Set the shipping |
Methods inherited from JobDetails
Methods inherited from java.lang.Object
Constructor Details
DataBoxJobDetails
public DataBoxJobDetails()
Creates an instance of DataBoxJobDetails class.
Method Details
copyProgress
public List<CopyProgress> copyProgress()
Get the copyProgress property: Copy progress per storage account.
Returns:
devicePassword
public String devicePassword()
Get the devicePassword property: Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
Returns:
fromJson
public static DataBoxJobDetails fromJson(JsonReader jsonReader)
Reads an instance of DataBoxJobDetails from the JsonReader.
Parameters:
Returns:
Throws:
jobDetailsType
public ClassDiscriminator jobDetailsType()
Get the jobDetailsType property: Indicates the type of job details.
Overrides:
DataBoxJobDetails.jobDetailsType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataBoxJobDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataBoxJobDetails.validate()withContactDetails
public DataBoxJobDetails withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for notification and shipping.
Overrides:
DataBoxJobDetails.withContactDetails(ContactDetails contactDetails)Parameters:
withDataExportDetails
public DataBoxJobDetails withDataExportDetails(List<DataExportDetails> dataExportDetails)
Set the dataExportDetails property: Details of the data to be exported from azure.
Overrides:
DataBoxJobDetails.withDataExportDetails(List<DataExportDetails> dataExportDetails)Parameters:
withDataImportDetails
public DataBoxJobDetails withDataImportDetails(List<DataImportDetails> dataImportDetails)
Set the dataImportDetails property: Details of the data to be imported into azure.
Overrides:
DataBoxJobDetails.withDataImportDetails(List<DataImportDetails> dataImportDetails)Parameters:
withDevicePassword
public DataBoxJobDetails withDevicePassword(String devicePassword)
Set the devicePassword property: Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
Parameters:
Returns:
withExpectedDataSizeInTeraBytes
public DataBoxJobDetails withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)
Set the expectedDataSizeInTeraBytes property: The expected size of the data, which needs to be transferred in this job, in terabytes.
Overrides:
DataBoxJobDetails.withExpectedDataSizeInTeraBytes(Integer expectedDataSizeInTeraBytes)Parameters:
withKeyEncryptionKey
public DataBoxJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the keyEncryptionKey property: Details about which key encryption type is being used.
Overrides:
DataBoxJobDetails.withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)Parameters:
withPreferences
public DataBoxJobDetails withPreferences(Preferences preferences)
Set the preferences property: Preferences for the order.
Overrides:
DataBoxJobDetails.withPreferences(Preferences preferences)Parameters:
withReverseShippingDetails
public DataBoxJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverseShippingDetails property: Optional Reverse Shipping details for order.
Overrides:
DataBoxJobDetails.withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)Parameters:
withShippingAddress
public DataBoxJobDetails withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping address of the customer.
Overrides:
DataBoxJobDetails.withShippingAddress(ShippingAddress shippingAddress)Parameters: