Class AddressUpdateProperties
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.fluent.models.AddressUpdateProperties
-
public final class AddressUpdateProperties extends Object
Address Properties.
-
-
Constructor Summary
Constructors Constructor Description AddressUpdateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactDetails
contactDetails()
Get the contactDetails property: Contact details for the address.ShippingAddress
shippingAddress()
Get the shippingAddress property: Shipping details for the address.void
validate()
Validates the instance.AddressUpdateProperties
withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.AddressUpdateProperties
withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.
-
-
-
Method Detail
-
shippingAddress
public ShippingAddress shippingAddress()
Get the shippingAddress property: Shipping details for the address.- Returns:
- the shippingAddress value.
-
withShippingAddress
public AddressUpdateProperties withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.- Parameters:
shippingAddress
- the shippingAddress value to set.- Returns:
- the AddressUpdateProperties object itself.
-
contactDetails
public ContactDetails contactDetails()
Get the contactDetails property: Contact details for the address.- Returns:
- the contactDetails value.
-
withContactDetails
public AddressUpdateProperties withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.- Parameters:
contactDetails
- the contactDetails value to set.- Returns:
- the AddressUpdateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-