PrivateEndpointConnectionForPrivateLinkHubBasic Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.PrivateEndpointConnectionForPrivateLinkHubBasic

Implements

public final class PrivateEndpointConnectionForPrivateLinkHubBasic
implements JsonSerializable<PrivateEndpointConnectionForPrivateLinkHubBasic>

Private Endpoint Connection For Private Link Hub - Basic.

Constructor Summary

Constructor Description
PrivateEndpointConnectionForPrivateLinkHubBasic()

Creates an instance of PrivateEndpointConnectionForPrivateLinkHubBasic class.

Method Summary

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

Reads an instance of PrivateEndpointConnectionForPrivateLinkHubBasic from the JsonReader.

String id()

Get the id property: identifier.

PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint which the connection belongs to.

PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.

String provisioningState()

Get the provisioningState property: Provisioning state of the private endpoint connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointConnectionForPrivateLinkHubBasic withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint which the connection belongs to.

PrivateEndpointConnectionForPrivateLinkHubBasic withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionForPrivateLinkHubBasic

public PrivateEndpointConnectionForPrivateLinkHubBasic()

Creates an instance of PrivateEndpointConnectionForPrivateLinkHubBasic class.

Method Details

fromJson

public static PrivateEndpointConnectionForPrivateLinkHubBasic fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionForPrivateLinkHubBasic from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: identifier.

Returns:

the id value.

privateEndpoint

public PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint which the connection belongs to.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public PrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the private endpoint connection.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateEndpoint

public PrivateEndpointConnectionForPrivateLinkHubBasic withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint which the connection belongs to.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the PrivateEndpointConnectionForPrivateLinkHubBasic object itself.

withPrivateLinkServiceConnectionState

public PrivateEndpointConnectionForPrivateLinkHubBasic withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Connection state of the private endpoint connection.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the PrivateEndpointConnectionForPrivateLinkHubBasic object itself.

Applies to