ServiceEndpointPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ServiceEndpointPropertiesFormat
- com.
Implements
public final class ServiceEndpointPropertiesFormat
implements JsonSerializable<ServiceEndpointPropertiesFormat>
The service endpoint properties.
Constructor Summary
Constructor | Description |
---|---|
ServiceEndpointPropertiesFormat() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
List<String> |
locations()
Get the locations property: A list of locations. |
Sub |
networkIdentifier()
Get the network |
Provisioning |
provisioningState()
Get the provisioning |
String |
service()
Get the service property: The type of the endpoint service. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Service |
withLocations(List<String> locations)
Set the locations property: A list of locations. |
Service |
withNetworkIdentifier(SubResource networkIdentifier)
Set the network |
Service |
withService(String service)
Set the service property: The type of the endpoint service. |
Methods inherited from java.lang.Object
Constructor Details
ServiceEndpointPropertiesFormat
public ServiceEndpointPropertiesFormat()
Creates an instance of ServiceEndpointPropertiesFormat class.
Method Details
fromJson
public static ServiceEndpointPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of ServiceEndpointPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List
Get the locations property: A list of locations.
Returns:
networkIdentifier
public SubResource networkIdentifier()
Get the networkIdentifier property: SubResource as network identifier.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service endpoint resource.
Returns:
service
public String service()
Get the service property: The type of the endpoint service.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocations
public ServiceEndpointPropertiesFormat withLocations(List
Set the locations property: A list of locations.
Parameters:
Returns:
withNetworkIdentifier
public ServiceEndpointPropertiesFormat withNetworkIdentifier(SubResource networkIdentifier)
Set the networkIdentifier property: SubResource as network identifier.
Parameters:
Returns:
withService
public ServiceEndpointPropertiesFormat withService(String service)
Set the service property: The type of the endpoint service.
Parameters:
Returns:
Applies to
Azure SDK for Java