Class PrivateEndpointConnectionProperties
- java.lang.Object
-
- com.azure.resourcemanager.search.models.PrivateEndpointConnectionProperties
-
public final class PrivateEndpointConnectionProperties extends Object
Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service.
-
-
Constructor Summary
Constructors Constructor Description PrivateEndpointConnectionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpointConnectionPropertiesPrivateEndpointprivateEndpoint()Get the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateprivateLinkServiceConnectionState()Get the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.voidvalidate()Validates the instance.PrivateEndpointConnectionPropertieswithPrivateEndpoint(PrivateEndpointConnectionPropertiesPrivateEndpoint privateEndpoint)Set the privateEndpoint property: The private endpoint resource from Microsoft.Network provider.PrivateEndpointConnectionPropertieswithPrivateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)Set the privateLinkServiceConnectionState property: Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint.
-
-
-
Method Detail
-
privateEndpoint
public PrivateEndpointConnectionPropertiesPrivateEndpoint 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.
-
-