Class EmailServiceResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.communication.fluent.models.EmailServiceResourceInner
-
public final class EmailServiceResourceInner extends com.azure.core.management.Resource
A class representing an EmailService resource.
-
-
Constructor Summary
Constructors Constructor Description EmailServiceResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dataLocation()
Get the dataLocation property: The location where the email service stores its data at rest.EmailServicesProvisioningState
provisioningState()
Get the provisioningState property: Provisioning state of the resource.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.EmailServiceResourceInner
withDataLocation(String dataLocation)
Set the dataLocation property: The location where the email service stores its data at rest.EmailServiceResourceInner
withLocation(String location)
EmailServiceResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
public EmailServiceResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public EmailServiceResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
public EmailServicesProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
dataLocation
public String dataLocation()
Get the dataLocation property: The location where the email service stores its data at rest.- Returns:
- the dataLocation value.
-
withDataLocation
public EmailServiceResourceInner withDataLocation(String dataLocation)
Set the dataLocation property: The location where the email service stores its data at rest.- Parameters:
dataLocation
- the dataLocation value to set.- Returns:
- the EmailServiceResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-