Interface InternetGatewayAttachment.Builder

    • Method Detail

      • state

        InternetGatewayAttachment.Builder state​(String state)

        The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

        Parameters:
        state - The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttachmentStatus, AttachmentStatus
      • state

        InternetGatewayAttachment.Builder state​(AttachmentStatus state)

        The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

        Parameters:
        state - The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AttachmentStatus, AttachmentStatus
      • vpcId

        InternetGatewayAttachment.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.