次の方法で共有


UpdateJobDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.UpdateJobDetails

Implements

public final class UpdateJobDetails
implements JsonSerializable<UpdateJobDetails>

Job details for update.

Constructor Summary

Constructor Description
UpdateJobDetails()

Creates an instance of UpdateJobDetails class.

Method Summary

Modifier and Type Method and Description
ContactDetails contactDetails()

Get the contactDetails property: Contact details for notification and shipping.

static UpdateJobDetails fromJson(JsonReader jsonReader)

Reads an instance of UpdateJobDetails from the JsonReader.

KeyEncryptionKey keyEncryptionKey()

Get the keyEncryptionKey property: Key encryption key for the job.

Preferences preferences()

Get the preferences property: Preferences related to the order.

PackageCarrierDetails returnToCustomerPackageDetails()

Get the returnToCustomerPackageDetails property: Return package details of job.

ReverseShippingDetails reverseShippingDetails()

Get the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.

ShippingAddress shippingAddress()

Get the shippingAddress property: Shipping address of the customer.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UpdateJobDetails withContactDetails(ContactDetails contactDetails)

Set the contactDetails property: Contact details for notification and shipping.

UpdateJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

Set the keyEncryptionKey property: Key encryption key for the job.

UpdateJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences related to the order.

UpdateJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)

Set the returnToCustomerPackageDetails property: Return package details of job.

UpdateJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Set the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.

UpdateJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

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:

the contactDetails value.

fromJson

public static UpdateJobDetails fromJson(JsonReader jsonReader)

Reads an instance of UpdateJobDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UpdateJobDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UpdateJobDetails.

keyEncryptionKey

public KeyEncryptionKey keyEncryptionKey()

Get the keyEncryptionKey property: Key encryption key for the job.

Returns:

the keyEncryptionKey value.

preferences

public Preferences preferences()

Get the preferences property: Preferences related to the order.

Returns:

the preferences value.

returnToCustomerPackageDetails

public PackageCarrierDetails returnToCustomerPackageDetails()

Get the returnToCustomerPackageDetails property: Return package details of job.

Returns:

the returnToCustomerPackageDetails value.

reverseShippingDetails

public ReverseShippingDetails reverseShippingDetails()

Get the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.

Returns:

the reverseShippingDetails value.

shippingAddress

public ShippingAddress shippingAddress()

Get the shippingAddress property: Shipping address of the customer.

Returns:

the shippingAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContactDetails

public UpdateJobDetails withContactDetails(ContactDetails contactDetails)

Set the contactDetails property: Contact details for notification and shipping.

Parameters:

contactDetails - the contactDetails value to set.

Returns:

the UpdateJobDetails object itself.

withKeyEncryptionKey

public UpdateJobDetails withKeyEncryptionKey(KeyEncryptionKey keyEncryptionKey)

Set the keyEncryptionKey property: Key encryption key for the job.

Parameters:

keyEncryptionKey - the keyEncryptionKey value to set.

Returns:

the UpdateJobDetails object itself.

withPreferences

public UpdateJobDetails withPreferences(Preferences preferences)

Set the preferences property: Preferences related to the order.

Parameters:

preferences - the preferences value to set.

Returns:

the UpdateJobDetails object itself.

withReturnToCustomerPackageDetails

public UpdateJobDetails withReturnToCustomerPackageDetails(PackageCarrierDetails returnToCustomerPackageDetails)

Set the returnToCustomerPackageDetails property: Return package details of job.

Parameters:

returnToCustomerPackageDetails - the returnToCustomerPackageDetails value to set.

Returns:

the UpdateJobDetails object itself.

withReverseShippingDetails

public UpdateJobDetails withReverseShippingDetails(ReverseShippingDetails reverseShippingDetails)

Set the reverseShippingDetails property: Reverse Shipping Address and contact details for a job.

Parameters:

reverseShippingDetails - the reverseShippingDetails value to set.

Returns:

the UpdateJobDetails object itself.

withShippingAddress

public UpdateJobDetails withShippingAddress(ShippingAddress shippingAddress)

Set the shippingAddress property: Shipping address of the customer.

Parameters:

shippingAddress - the shippingAddress value to set.

Returns:

the UpdateJobDetails object itself.

Applies to