Class ServiceEndpointPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat
-
public final class ServiceEndpointPropertiesFormat extends Object
The service endpoint properties.
-
-
Constructor Summary
Constructors Constructor Description ServiceEndpointPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>locations()Get the locations property: A list of locations.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the service endpoint resource.Stringservice()Get the service property: The type of the endpoint service.voidvalidate()Validates the instance.ServiceEndpointPropertiesFormatwithLocations(List<String> locations)Set the locations property: A list of locations.ServiceEndpointPropertiesFormatwithService(String service)Set the service property: The type of the endpoint service.
-
-
-
Method Detail
-
service
public String service()
Get the service property: The type of the endpoint service.- Returns:
- the service value.
-
withService
public ServiceEndpointPropertiesFormat withService(String service)
Set the service property: The type of the endpoint service.- Parameters:
service- the service value to set.- Returns:
- the ServiceEndpointPropertiesFormat object itself.
-
locations
public List<String> locations()
Get the locations property: A list of locations.- Returns:
- the locations value.
-
withLocations
public ServiceEndpointPropertiesFormat withLocations(List<String> locations)
Set the locations property: A list of locations.- Parameters:
locations- the locations value to set.- Returns:
- the ServiceEndpointPropertiesFormat object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service endpoint resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-