Class AddressUpdateParameter


  • public final class AddressUpdateParameter
    extends Object
    The Address update parameters.
    • Constructor Detail

      • AddressUpdateParameter

        public AddressUpdateParameter()
    • 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.