Class AddressResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.edgeorder.fluent.models.AddressResourceInner
-
public final class AddressResourceInner extends com.azure.core.management.Resource
Address Resource.
-
-
Constructor Summary
Constructors Constructor Description AddressResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressValidationStatus
addressValidationStatus()
Get the addressValidationStatus property: Status of address validation.ContactDetails
contactDetails()
Get the contactDetails property: Contact details for the address.ShippingAddress
shippingAddress()
Get the shippingAddress property: Shipping details for the address.com.azure.core.management.SystemData
systemData()
Get the systemData property: Represents resource creation and update time.void
validate()
Validates the instance.AddressResourceInner
withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.AddressResourceInner
withLocation(String location)
AddressResourceInner
withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.AddressResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Represents resource creation and update time.- Returns:
- the systemData value.
-
withLocation
public AddressResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public AddressResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
shippingAddress
public ShippingAddress shippingAddress()
Get the shippingAddress property: Shipping details for the address.- Returns:
- the shippingAddress value.
-
withShippingAddress
public AddressResourceInner withShippingAddress(ShippingAddress shippingAddress)
Set the shippingAddress property: Shipping details for the address.- Parameters:
shippingAddress
- the shippingAddress value to set.- Returns:
- the AddressResourceInner object itself.
-
contactDetails
public ContactDetails contactDetails()
Get the contactDetails property: Contact details for the address.- Returns:
- the contactDetails value.
-
withContactDetails
public AddressResourceInner withContactDetails(ContactDetails contactDetails)
Set the contactDetails property: Contact details for the address.- Parameters:
contactDetails
- the contactDetails value to set.- Returns:
- the AddressResourceInner object itself.
-
addressValidationStatus
public AddressValidationStatus addressValidationStatus()
Get the addressValidationStatus property: Status of address validation.- Returns:
- the addressValidationStatus value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-