Class PrivateEndpointConnection
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.desktopvirtualization.models.PrivateEndpointConnection
- Direct Known Subclasses:
PrivateEndpointConnectionWithSystemDataInner
public class PrivateEndpointConnection
extends com.azure.core.management.ProxyResource
The Private Endpoint Connection resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateEndpoint property: The resource of private end point.Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.Get the provisioningState property: The provisioning state of the private endpoint connection resource.void
validate()
Validates the instance.withPrivateEndpoint
(PrivateEndpoint privateEndpoint) Set the privateEndpoint property: The resource of private end point.withPrivateLinkServiceConnectionState
(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.withProvisioningState
(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private endpoint connection resource.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PrivateEndpointConnection
public PrivateEndpointConnection()
-
-
Method Details
-
privateEndpoint
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The resource of private end point.- Parameters:
privateEndpoint
- the privateEndpoint value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public PrivateEndpointConnection withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Parameters:
privateLinkServiceConnectionState
- the privateLinkServiceConnectionState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the private endpoint connection resource.- Returns:
- the provisioningState value.
-
withProvisioningState
public PrivateEndpointConnection withProvisioningState(PrivateEndpointConnectionProvisioningState provisioningState) Set the provisioningState property: The provisioning state of the private endpoint connection resource.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the PrivateEndpointConnection object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-