Class PrivateLinkResourceInner


  • public final class PrivateLinkResourceInner
    extends Object
    A private link resource.
    • Constructor Detail

      • PrivateLinkResourceInner

        public PrivateLinkResourceInner()
    • Method Detail

      • id

        public String id()
        Get the id property: The ID of the private link resource.
        Returns:
        the id value.
      • withId

        public PrivateLinkResourceInner withId​(String id)
        Set the id property: The ID of the private link resource.
        Parameters:
        id - the id value to set.
        Returns:
        the PrivateLinkResourceInner object itself.
      • name

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

        public PrivateLinkResourceInner withName​(String name)
        Set the name property: The name of the private link resource.
        Parameters:
        name - the name value to set.
        Returns:
        the PrivateLinkResourceInner object itself.
      • type

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

        public PrivateLinkResourceInner withType​(String type)
        Set the type property: The resource type.
        Parameters:
        type - the type value to set.
        Returns:
        the PrivateLinkResourceInner object itself.
      • groupId

        public String groupId()
        Get the groupId property: The group ID of the resource.
        Returns:
        the groupId value.
      • withGroupId

        public PrivateLinkResourceInner withGroupId​(String groupId)
        Set the groupId property: The group ID of the resource.
        Parameters:
        groupId - the groupId value to set.
        Returns:
        the PrivateLinkResourceInner object itself.
      • requiredMembers

        public List<String> requiredMembers()
        Get the requiredMembers property: The RequiredMembers of the resource.
        Returns:
        the requiredMembers value.
      • withRequiredMembers

        public PrivateLinkResourceInner withRequiredMembers​(List<String> requiredMembers)
        Set the requiredMembers property: The RequiredMembers of the resource.
        Parameters:
        requiredMembers - the requiredMembers value to set.
        Returns:
        the PrivateLinkResourceInner object itself.
      • privateLinkServiceId

        public String privateLinkServiceId()
        Get the privateLinkServiceId property: The private link service ID of the resource, this field is exposed only to NRP internally.
        Returns:
        the privateLinkServiceId value.
      • validate

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