Interface ClassicLinkInstance.Builder

    • Method Detail

      • groups

        ClassicLinkInstance.Builder groups​(GroupIdentifier... groups)

        The security groups.

        Parameters:
        groups - The security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceId

        ClassicLinkInstance.Builder instanceId​(String instanceId)

        The ID of the instance.

        Parameters:
        instanceId - The ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClassicLinkInstance.Builder tags​(Collection<Tag> tags)

        Any tags assigned to the instance.

        Parameters:
        tags - Any tags assigned to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClassicLinkInstance.Builder tags​(Tag... tags)

        Any tags assigned to the instance.

        Parameters:
        tags - Any tags assigned to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ClassicLinkInstance.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags assigned to the instance.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • vpcId

        ClassicLinkInstance.Builder vpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.