Interface NetworkInterfaceAttachment.Builder

  • Method Details

    • attachTime

      The timestamp indicating when the attachment initiated.

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

      NetworkInterfaceAttachment.Builder attachmentId(String attachmentId)

      The ID of the network interface attachment.

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

      NetworkInterfaceAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)

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

      Parameters:
      deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceIndex

      NetworkInterfaceAttachment.Builder deviceIndex(Integer deviceIndex)

      The device index of the network interface attachment on the instance.

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

      NetworkInterfaceAttachment.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.
    • 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.
    • instanceOwnerId

      NetworkInterfaceAttachment.Builder instanceOwnerId(String instanceOwnerId)

      The Amazon Web Services account ID of the owner of the instance.

      Parameters:
      instanceOwnerId - The Amazon Web Services account ID of the owner of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The attachment state.

      Parameters:
      status - The attachment state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The attachment state.

      Parameters:
      status - The attachment state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enaSrdSpecification

      NetworkInterfaceAttachment.Builder enaSrdSpecification(AttachmentEnaSrdSpecification enaSrdSpecification)

      Configures ENA Express for the network interface that this action attaches to the instance.

      Parameters:
      enaSrdSpecification - Configures ENA Express for the network interface that this action attaches to the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enaSrdSpecification

      default NetworkInterfaceAttachment.Builder enaSrdSpecification(Consumer<AttachmentEnaSrdSpecification.Builder> enaSrdSpecification)

      Configures ENA Express for the network interface that this action attaches to the instance.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to enaSrdSpecification(AttachmentEnaSrdSpecification).

      Parameters:
      enaSrdSpecification - a consumer that will call methods on AttachmentEnaSrdSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enaQueueCount

      NetworkInterfaceAttachment.Builder enaQueueCount(Integer enaQueueCount)

      The number of ENA queues created with the instance.

      Parameters:
      enaQueueCount - The number of ENA queues created with the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.