ServerPrivateEndpointConnection Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ServerPrivateEndpointConnection

Implements

public final class ServerPrivateEndpointConnection
implements JsonSerializable<ServerPrivateEndpointConnection>

A private endpoint connection under a server.

Constructor Summary

Constructor Description
ServerPrivateEndpointConnection()

Creates an instance of ServerPrivateEndpointConnection class.

Method Summary

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

Reads an instance of ServerPrivateEndpointConnection from the JsonReader.

String id()

Get the id property: Resource ID.

PrivateEndpointConnectionProperties properties()

Get the properties property: Private endpoint connection properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ServerPrivateEndpointConnection

public ServerPrivateEndpointConnection()

Creates an instance of ServerPrivateEndpointConnection class.

Method Details

fromJson

public static ServerPrivateEndpointConnection fromJson(JsonReader jsonReader)

Reads an instance of ServerPrivateEndpointConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerPrivateEndpointConnection 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 ServerPrivateEndpointConnection.

id

public String id()

Get the id property: Resource ID.

Returns:

the id value.

properties

public PrivateEndpointConnectionProperties properties()

Get the properties property: Private endpoint connection properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to