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 -
Method Summary
Modifier and TypeMethodDescriptionGet the dataLocation property: The location where the email service stores its data at rest.Get the provisioningState property: Provisioning state of the resource.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withDataLocation
(String dataLocation) Set the dataLocation property: The location where the email service stores its data at rest.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
EmailServiceResourceInner
public EmailServiceResourceInner()
-
-
Method Details
-
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
dataLocation
Get the dataLocation property: The location where the email service stores its data at rest.- Returns:
- the dataLocation value.
-
withDataLocation
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.
-