Class EmailServiceProperties
- java.lang.Object
-
- com.azure.resourcemanager.communication.fluent.models.EmailServiceProperties
-
public final class EmailServiceProperties extends Object
A class that describes the properties of the EmailService.
-
-
Constructor Summary
Constructors Constructor Description EmailServiceProperties()
-
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.void
validate()
Validates the instance.EmailServiceProperties
withDataLocation(String dataLocation)
Set the dataLocation property: The location where the email service stores its data at rest.
-
-
-
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.
-
-