Interface InstanceSecondaryInterfaceAttachment.Builder

    • Method Detail

      • attachTime

        InstanceSecondaryInterfaceAttachment.Builder attachTime​(Instant attachTime)

        The timestamp when the attachment was created.

        Parameters:
        attachTime - The timestamp when the attachment was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attachmentId

        InstanceSecondaryInterfaceAttachment.Builder attachmentId​(String attachmentId)

        The ID of the attachment.

        Parameters:
        attachmentId - The ID of the attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteOnTermination

        InstanceSecondaryInterfaceAttachment.Builder deleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether the secondary interface is deleted when the instance is terminated.

        The only supported value for this field is true.

        Parameters:
        deleteOnTermination - Indicates whether the secondary interface is deleted when the instance is terminated.

        The only supported value for this field is true.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceIndex

        InstanceSecondaryInterfaceAttachment.Builder deviceIndex​(Integer deviceIndex)

        The device index of the secondary interface.

        Parameters:
        deviceIndex - The device index of the secondary interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkCardIndex

        InstanceSecondaryInterfaceAttachment.Builder networkCardIndex​(Integer networkCardIndex)

        The index of the network card.

        Parameters:
        networkCardIndex - The index of the network card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.