Class ConnectionProperties


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

      • ConnectionProperties

        public ConnectionProperties()
    • Method Detail

      • 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.
      • 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.