Class AddressUpdateParameter
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.AddressUpdateParameter
-
public final class AddressUpdateParameter extends Object
The Address update parameters.
-
-
Constructor Summary
Constructors Constructor Description AddressUpdateParameter()
-
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.Map<String,String>
tags()
Get the tags property: The list of key value pairs that describe the resource.void
validate()
Validates the instance.AddressUpdateParameter
withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.AddressUpdateParameter
withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.AddressUpdateParameter
withTags(Map<String,String> tags)
Set the tags property: The list of key value pairs that describe the resource.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).- Returns:
- the tags value.
-
withTags
public AddressUpdateParameter withTags(Map<String,String> tags)
Set the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).- Parameters:
tags
- the tags value to set.- Returns:
- the AddressUpdateParameter object itself.
-
shippingAddress
public ShippingAddress shippingAddress()
Get the shippingAddress property: Shipping details for the address.- Returns:
- the shippingAddress value.
-
withShippingAddress
public AddressUpdateParameter withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.- Parameters:
shippingAddress
- the shippingAddress value to set.- Returns:
- the AddressUpdateParameter object itself.
-
contactDetails
public ContactDetails contactDetails()
Get the contactDetails property: Contact details for the address.- Returns:
- the contactDetails value.
-
withContactDetails
public AddressUpdateParameter withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.- Parameters:
contactDetails
- the contactDetails value to set.- Returns:
- the AddressUpdateParameter object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-