Class ConnectionProperties

java.lang.Object
com.azure.resourcemanager.digitaltwins.models.ConnectionProperties

public final class ConnectionProperties extends Object
The properties of a private endpoint connection.
  • Constructor Details

    • ConnectionProperties

      public ConnectionProperties()
  • Method Details

    • provisioningState

      public ConnectionPropertiesProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state.
      Returns:
      the provisioningState value.
    • privateEndpoint

      public PrivateEndpoint privateEndpoint()
      Get the privateEndpoint property: The private endpoint.
      Returns:
      the privateEndpoint value.
    • withPrivateEndpoint

      public ConnectionProperties withPrivateEndpoint(PrivateEndpoint privateEndpoint)
      Set the privateEndpoint property: The private endpoint.
      Parameters:
      privateEndpoint - the privateEndpoint value to set.
      Returns:
      the ConnectionProperties object itself.
    • groupIds

      public List<String> groupIds()
      Get the groupIds property: The list of group ids for the private endpoint connection.
      Returns:
      the groupIds value.
    • withGroupIds

      public ConnectionProperties withGroupIds(List<String> groupIds)
      Set the groupIds property: The list of group ids for the private endpoint connection.
      Parameters:
      groupIds - the groupIds value to set.
      Returns:
      the ConnectionProperties object itself.
    • privateLinkServiceConnectionState

      public ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState()
      Get the privateLinkServiceConnectionState property: The connection state.
      Returns:
      the privateLinkServiceConnectionState value.
    • withPrivateLinkServiceConnectionState

      public ConnectionProperties withPrivateLinkServiceConnectionState(ConnectionPropertiesPrivateLinkServiceConnectionState privateLinkServiceConnectionState)
      Set the privateLinkServiceConnectionState property: The connection state.
      Parameters:
      privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
      Returns:
      the ConnectionProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.