Class EmailServiceProperties


  • public final class EmailServiceProperties
    extends Object
    A class that describes the properties of the EmailService.
    • Constructor Detail

      • EmailServiceProperties

        public EmailServiceProperties()
    • Method Detail

      • 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 EmailServiceProperties 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 EmailServiceProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.