UpdateJobDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. UpdateJobDetails
- com.
Implements
public final class UpdateJobDetails
implements JsonSerializable<UpdateJobDetails>
Job details for update.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateJobDetails() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Contact |
contactDetails()
Get the contact |
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
|
Key |
keyEncryptionKey()
Get the key |
| Preferences |
preferences()
Get the preferences property: Preferences related to the order. |
|
Package |
returnToCustomerPackageDetails()
Get the return |
|
Reverse |
reverseShippingDetails()
Get the reverse |
|
Shipping |
shippingAddress()
Get the shipping |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Update |
withContactDetails(ContactDetails contactDetails)
Set the contact |
|
Update |
withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the key |
|
Update |
withPreferences(Preferences preferences)
Set the preferences property: Preferences related to the order. |
|
Update |
withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)
Set the return |
|
Update |
withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverse |
|
Update |
withShippingAddress(ShippingAddress shippingAddress)
Set the shipping |
Methods inherited from java.lang.Object
Constructor Details
UpdateJobDetails
public UpdateJobDetails()
Creates an instance of UpdateJobDetails class.
Method Details
contactDetails
public ContactDetails contactDetails()
Get the contactDetails property: Contact details for notification and shipping.
Returns:
fromJson
public static UpdateJobDetails fromJson(JsonReader jsonReader)
Reads an instance of UpdateJobDetails from the JsonReader.
Parameters:
Returns:
Throws:
keyEncryptionKey
public KeyEncryptionKey keyEncryptionKey()
Get the keyEncryptionKey property: Key encryption key for the job.
Returns:
preferences
public Preferences preferences()
Get the preferences property: Preferences related to the order.
Returns:
returnToCustomerPackageDetails
public PackageCarrierDetails returnToCustomerPackageDetails()
Get the returnToCustomerPackageDetails property: Return package details of job.
Returns:
reverseShippingDetails
public ReverseShippingDetails reverseShippingDetails()
Get the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.
Returns:
shippingAddress
public ShippingAddress shippingAddress()
Get the shippingAddress property: Shipping address of the customer.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContactDetails
public UpdateJobDetails withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for notification and shipping.
Parameters:
Returns:
withKeyEncryptionKey
public UpdateJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)
Set the keyEncryptionKey property: Key encryption key for the job.
Parameters:
Returns:
withPreferences
public UpdateJobDetails withPreferences(Preferences preferences)
Set the preferences property: Preferences related to the order.
Parameters:
Returns:
withReturnToCustomerPackageDetails
public UpdateJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)
Set the returnToCustomerPackageDetails property: Return package details of job.
Parameters:
Returns:
withReverseShippingDetails
public UpdateJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)
Set the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.
Parameters:
Returns:
withShippingAddress
public UpdateJobDetails withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping address of the customer.
Parameters:
Returns: