Class ShareablePrivateLinkResourceProperties

java.lang.Object
com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceProperties

public final class ShareablePrivateLinkResourceProperties extends Object
Describes the properties of a resource type that has been onboarded to private link service.
  • Constructor Details

    • ShareablePrivateLinkResourceProperties

      public ShareablePrivateLinkResourceProperties()
      Creates an instance of ShareablePrivateLinkResourceProperties class.
  • Method Details

    • description

      public String description()
      Get the description property: The description of the resource type that has been onboarded to private link service.
      Returns:
      the description value.
    • withDescription

      public ShareablePrivateLinkResourceProperties withDescription(String description)
      Set the description property: The description of the resource type that has been onboarded to private link service.
      Parameters:
      description - the description value to set.
      Returns:
      the ShareablePrivateLinkResourceProperties object itself.
    • groupId

      public String groupId()
      Get the groupId property: The resource provider group id for the resource that has been onboarded to private link service.
      Returns:
      the groupId value.
    • withGroupId

      public ShareablePrivateLinkResourceProperties withGroupId(String groupId)
      Set the groupId property: The resource provider group id for the resource that has been onboarded to private link service.
      Parameters:
      groupId - the groupId value to set.
      Returns:
      the ShareablePrivateLinkResourceProperties object itself.
    • type

      public String type()
      Get the type property: The resource provider type for the resource that has been onboarded to private link service.
      Returns:
      the type value.
    • withType

      Set the type property: The resource provider type for the resource that has been onboarded to private link service.
      Parameters:
      type - the type value to set.
      Returns:
      the ShareablePrivateLinkResourceProperties object itself.
    • validate

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