Class PrivateLinkResource

java.lang.Object
com.azure.resourcemanager.eventhubs.models.PrivateLinkResource

public final class PrivateLinkResource extends Object
Information of the private link resource.
  • Constructor Details

    • PrivateLinkResource

      public PrivateLinkResource()
  • Method Details

    • id

      public String id()
      Get the id property: Fully qualified identifier of the resource.
      Returns:
      the id value.
    • withId

      public PrivateLinkResource withId(String id)
      Set the id property: Fully qualified identifier of the resource.
      Parameters:
      id - the id value to set.
      Returns:
      the PrivateLinkResource object itself.
    • name

      public String name()
      Get the name property: Name of the resource.
      Returns:
      the name value.
    • withName

      public PrivateLinkResource withName(String name)
      Set the name property: Name of the resource.
      Parameters:
      name - the name value to set.
      Returns:
      the PrivateLinkResource object itself.
    • type

      public String type()
      Get the type property: Type of the resource.
      Returns:
      the type value.
    • withType

      public PrivateLinkResource withType(String type)
      Set the type property: Type of the resource.
      Parameters:
      type - the type value to set.
      Returns:
      the PrivateLinkResource object itself.
    • groupId

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

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

      public List<String> requiredMembers()
      Get the requiredMembers property: The private link resource required member names.
      Returns:
      the requiredMembers value.
    • withRequiredMembers

      public PrivateLinkResource withRequiredMembers(List<String> requiredMembers)
      Set the requiredMembers property: The private link resource required member names.
      Parameters:
      requiredMembers - the requiredMembers value to set.
      Returns:
      the PrivateLinkResource object itself.
    • requiredZoneNames

      public List<String> requiredZoneNames()
      Get the requiredZoneNames property: The private link resource Private link DNS zone name.
      Returns:
      the requiredZoneNames value.
    • withRequiredZoneNames

      public PrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)
      Set the requiredZoneNames property: The private link resource Private link DNS zone name.
      Parameters:
      requiredZoneNames - the requiredZoneNames value to set.
      Returns:
      the PrivateLinkResource object itself.
    • validate

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