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 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

      public EmailServiceResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public EmailServiceResourceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.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.