Class SharedPrivateLinkResource


  • public final class SharedPrivateLinkResource
    extends Object
    The SharedPrivateLinkResource model.
    • Constructor Detail

      • SharedPrivateLinkResource

        public SharedPrivateLinkResource()
    • Method Detail

      • name

        public String name()
        Get the name property: Unique name of the private link.
        Returns:
        the name value.
      • withName

        public SharedPrivateLinkResource withName​(String name)
        Set the name property: Unique name of the private link.
        Parameters:
        name - the name value to set.
        Returns:
        the SharedPrivateLinkResource object itself.
      • privateLinkResourceId

        public String privateLinkResourceId()
        Get the privateLinkResourceId property: The resource id that private link links to.
        Returns:
        the privateLinkResourceId value.
      • withPrivateLinkResourceId

        public SharedPrivateLinkResource withPrivateLinkResourceId​(String privateLinkResourceId)
        Set the privateLinkResourceId property: The resource id that private link links to.
        Parameters:
        privateLinkResourceId - the privateLinkResourceId value to set.
        Returns:
        the SharedPrivateLinkResource object itself.
      • groupId

        public String groupId()
        Get the groupId property: The private link resource group id.
        Returns:
        the groupId value.
      • withGroupId

        public SharedPrivateLinkResource withGroupId​(String groupId)
        Set the groupId property: The private link resource group id.
        Parameters:
        groupId - the groupId value to set.
        Returns:
        the SharedPrivateLinkResource object itself.
      • requestMessage

        public String requestMessage()
        Get the requestMessage property: Request message.
        Returns:
        the requestMessage value.
      • withRequestMessage

        public SharedPrivateLinkResource withRequestMessage​(String requestMessage)
        Set the requestMessage property: Request message.
        Parameters:
        requestMessage - the requestMessage value to set.
        Returns:
        the SharedPrivateLinkResource object itself.
      • status

        public PrivateEndpointServiceConnectionStatus status()
        Get the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
        Returns:
        the status value.
      • withStatus

        public SharedPrivateLinkResource withStatus​(PrivateEndpointServiceConnectionStatus status)
        Set the status property: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
        Parameters:
        status - the status value to set.
        Returns:
        the SharedPrivateLinkResource object itself.
      • validate

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