PrivateEndpointConnectionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.search.models.PrivateEndpointConnectionProperties

Implements

public final class PrivateEndpointConnectionProperties
implements JsonSerializable<PrivateEndpointConnectionProperties>

Describes the properties of an existing Private Endpoint connection to the search service.

Constructor Summary

Constructor Description
PrivateEndpointConnectionProperties()

Creates an instance of PrivateEndpointConnectionProperties class.

Method Summary

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

Reads an instance of PrivateEndpointConnectionProperties from the JsonReader.

String groupId()

Get the groupId property: The group id from the provider of resource the private link service connection is for.

PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.

PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.

PrivateLinkServiceConnectionProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PrivateEndpointConnectionProperties withGroupId(String groupId)

Set the groupId property: The group id from the provider of resource the private link service connection is for.

PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.

PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.

PrivateEndpointConnectionProperties withProvisioningState(PrivateLinkServiceConnectionProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of the private link service connection.

Methods inherited from java.lang.Object

Constructor Details

PrivateEndpointConnectionProperties

public PrivateEndpointConnectionProperties()

Creates an instance of PrivateEndpointConnectionProperties class.

Method Details

fromJson

public static PrivateEndpointConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointConnectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupId

public String groupId()

Get the groupId property: The group id from the provider of resource the private link service connection is for.

Returns:

the groupId value.

privateEndpoint

public PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint()

Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.

Returns:

the privateEndpoint value.

privateLinkServiceConnectionState

public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()

Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.

Returns:

the privateLinkServiceConnectionState value.

provisioningState

public PrivateLinkServiceConnectionProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGroupId

public PrivateEndpointConnectionProperties withGroupId(String groupId)

Set the groupId property: The group id from the provider of resource the private link service connection is for.

Parameters:

groupId - the groupId value to set.

Returns:

the PrivateEndpointConnectionProperties object itself.

withPrivateEndpoint

public PrivateEndpointConnectionProperties withPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint)

Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.

Parameters:

privateEndpoint - the privateEndpoint value to set.

Returns:

the PrivateEndpointConnectionProperties object itself.

withPrivateLinkServiceConnectionState

public PrivateEndpointConnectionProperties withPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)

Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.

Parameters:

privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.

Returns:

the PrivateEndpointConnectionProperties object itself.

withProvisioningState

public PrivateEndpointConnectionProperties withProvisioningState(PrivateLinkServiceConnectionProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the PrivateEndpointConnectionProperties object itself.

Applies to