Class ServiceEndpointPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.models.ServiceEndpointPropertiesFormat

public final class ServiceEndpointPropertiesFormat extends Object
The service endpoint properties.
  • Constructor Details

    • ServiceEndpointPropertiesFormat

      public ServiceEndpointPropertiesFormat()
      Creates an instance of ServiceEndpointPropertiesFormat class.
  • Method Details

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

      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.