Class PrivateLinkServiceConnection


  • public final class PrivateLinkServiceConnection
    extends Object
    A grouping of information about the connection to the remote resource.
    • Constructor Detail

      • PrivateLinkServiceConnection

        public PrivateLinkServiceConnection()
    • Method Detail

      • privateLinkServiceId

        public String privateLinkServiceId()
        Get the privateLinkServiceId property: The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
        Returns:
        the privateLinkServiceId value.
      • withPrivateLinkServiceId

        public PrivateLinkServiceConnection withPrivateLinkServiceId​(String privateLinkServiceId)
        Set the privateLinkServiceId property: The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
        Parameters:
        privateLinkServiceId - the privateLinkServiceId value to set.
        Returns:
        the PrivateLinkServiceConnection object itself.
      • groupIds

        public List<String> groupIds()
        Get the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
        Returns:
        the groupIds value.
      • withGroupIds

        public PrivateLinkServiceConnection withGroupIds​(List<String> groupIds)
        Set the groupIds property: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
        Parameters:
        groupIds - the groupIds value to set.
        Returns:
        the PrivateLinkServiceConnection object itself.
      • requestMessage

        public String requestMessage()
        Get the requestMessage property: A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
        Returns:
        the requestMessage value.
      • privateLinkServiceConnectionState

        public PrivateLinkConnectionState privateLinkServiceConnectionState()
        Get the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.
        Returns:
        the privateLinkServiceConnectionState value.
      • withPrivateLinkServiceConnectionState

        public PrivateLinkServiceConnection withPrivateLinkServiceConnectionState​(PrivateLinkConnectionState privateLinkServiceConnectionState)
        Set the privateLinkServiceConnectionState property: A collection of read-only information about the state of the connection to the private remote resource.
        Parameters:
        privateLinkServiceConnectionState - the privateLinkServiceConnectionState value to set.
        Returns:
        the PrivateLinkServiceConnection object itself.
      • validate

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