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 Details

    • PrivateEndpointConnection

      public PrivateEndpointConnection()
  • Method Details

    • privateEndpoint

      public PrivateEndpoint privateEndpoint()
      Get the privateEndpoint property: The resource of private end point.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public PrivateEndpointConnection withPrivateEndpoint(PrivateEndpoint privateEndpoint)
      Set the privateEndpoint property: The resource of private end point.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the PrivateEndpointConnection object itself.
    • privateLinkServiceConnectionState

      public PrivateLinkServiceConnectionState 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

      public PrivateEndpointConnectionProvisioningState 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.