Class SharedPrivateLinkResourceProperty


  • public final class SharedPrivateLinkResourceProperty
    extends Object
    Properties of a shared private link resource.
    • Constructor Detail

      • SharedPrivateLinkResourceProperty

        public SharedPrivateLinkResourceProperty()
    • Method Detail

      • privateLinkResourceId

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

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

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

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

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

        public SharedPrivateLinkResourceProperty withRequestMessage​(String requestMessage)
        Set the requestMessage property: Request message.
        Parameters:
        requestMessage - the requestMessage value to set.
        Returns:
        the SharedPrivateLinkResourceProperty 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.
      • validate

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