ServiceEndpointPropertiesFormat Class

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

Implements

public final class ServiceEndpointPropertiesFormat
implements JsonSerializable<ServiceEndpointPropertiesFormat>

The service endpoint properties.

Constructor Summary

Constructor Description
ServiceEndpointPropertiesFormat()

Creates an instance of ServiceEndpointPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
static ServiceEndpointPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ServiceEndpointPropertiesFormat from the JsonReader.

List<String> locations()

Get the locations property: A list of locations.

SubResource networkIdentifier()

Get the networkIdentifier property: SubResource as network identifier.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service endpoint resource.

String service()

Get the service property: The type of the endpoint service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceEndpointPropertiesFormat withLocations(List<String> locations)

Set the locations property: A list of locations.

ServiceEndpointPropertiesFormat withNetworkIdentifier(SubResource networkIdentifier)

Set the networkIdentifier property: SubResource as network identifier.

ServiceEndpointPropertiesFormat 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:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceEndpointPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServiceEndpointPropertiesFormat.

locations

public List locations()

Get the locations property: A list of locations.

Returns:

the locations value.

networkIdentifier

public SubResource networkIdentifier()

Get the networkIdentifier property: SubResource as network identifier.

Returns:

the networkIdentifier value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service endpoint resource.

Returns:

the provisioningState value.

service

public String service()

Get the service property: The type of the endpoint service.

Returns:

the service value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLocations

public ServiceEndpointPropertiesFormat withLocations(List locations)

Set the locations property: A list of locations.

Parameters:

locations - the locations value to set.

Returns:

the ServiceEndpointPropertiesFormat object itself.

withNetworkIdentifier

public ServiceEndpointPropertiesFormat withNetworkIdentifier(SubResource networkIdentifier)

Set the networkIdentifier property: SubResource as network identifier.

Parameters:

networkIdentifier - the networkIdentifier value to set.

Returns:

the ServiceEndpointPropertiesFormat object itself.

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.

Applies to