Class PrivateEndpointConnectionProperties
java.lang.Object
com.azure.resourcemanager.search.models.PrivateEndpointConnectionProperties
Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.voidvalidate()Validates the instance.withPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint) Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.withPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.
-
Constructor Details
-
PrivateEndpointConnectionProperties
public PrivateEndpointConnectionProperties()
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.- Returns:
- the privateEndpoint value.
-
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.
-
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.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-