ConnectionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.digitaltwins.models.ConnectionProperties

Implements

public final class ConnectionProperties
implements JsonSerializable<ConnectionProperties>

The properties of a private endpoint connection.

Constructor Summary

Constructor Description
ConnectionProperties()

Creates an instance of ConnectionProperties class.

Method Summary

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

Reads an instance of ConnectionProperties from the JsonReader.

List<String> groupIds()

Get the groupIds property: The list of group ids for the private endpoint connection.

PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint.

ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: The connection state.

ConnectionPropertiesProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionProperties withGroupIds(List<String> groupIds)

Set the groupIds property: The list of group ids for the private endpoint connection.

ConnectionProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint.

ConnectionProperties withPrivateLinkServiceConnectionState(ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: The connection state.

Methods inherited from java.lang.Object

Constructor Details

ConnectionProperties

public ConnectionProperties()

Creates an instance of ConnectionProperties class.

Method Details

fromJson

public static ConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupIds

public List groupIds()

Get the groupIds property: The list of group ids for the private endpoint connection.

Returns:

the groupIds value.

privateEndpoint

public PrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: The connection state.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public ConnectionPropertiesProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGroupIds

public ConnectionProperties withGroupIds(List groupIds)

Set the groupIds property: The list of group ids for the private endpoint connection.

Parameters:

groupIds - the groupIds value to set.

Returns:

the ConnectionProperties object itself.

withPrivateEndpoint

public ConnectionProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the ConnectionProperties object itself.

withPrivateLinkServiceConnectionState

public ConnectionProperties withPrivateLinkServiceConnectionState(ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: The connection state.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the ConnectionProperties object itself.

Applies to

Azure SDK for Java

Latest