Class ServiceEndpointPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat
The service endpoint properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceEndpointPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the locations property: A list of locations.com.azure.core.management.SubResourceGet the networkIdentifier property: SubResource as network identifier.Get the provisioningState property: The provisioning state of the service endpoint resource.service()Get the service property: The type of the endpoint service.voidvalidate()Validates the instance.withLocations(List<String> locations) Set the locations property: A list of locations.withNetworkIdentifier(com.azure.core.management.SubResource networkIdentifier) Set the networkIdentifier property: SubResource as network identifier.withService(String service) Set the service property: The type of the endpoint service.
-
Constructor Details
-
ServiceEndpointPropertiesFormat
public ServiceEndpointPropertiesFormat()Creates an instance of ServiceEndpointPropertiesFormat class.
-
-
Method Details
-
service
Get the service property: The type of the endpoint service.- Returns:
- the service value.
-
withService
Set the service property: The type of the endpoint service.- Parameters:
service- the service value to set.- Returns:
- the ServiceEndpointPropertiesFormat object itself.
-
networkIdentifier
public com.azure.core.management.SubResource networkIdentifier()Get the networkIdentifier property: SubResource as network identifier.- Returns:
- the networkIdentifier value.
-
withNetworkIdentifier
public ServiceEndpointPropertiesFormat withNetworkIdentifier(com.azure.core.management.SubResource networkIdentifier) Set the networkIdentifier property: SubResource as network identifier.- Parameters:
networkIdentifier- the networkIdentifier value to set.- Returns:
- the ServiceEndpointPropertiesFormat object itself.
-
locations
Get the locations property: A list of locations.- Returns:
- the locations value.
-
withLocations
Set the locations property: A list of locations.- Parameters:
locations- the locations value to set.- Returns:
- the ServiceEndpointPropertiesFormat object itself.
-
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.
-