Interface AwsEc2NetworkInterfaceAttachment.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>, SdkBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>, SdkPojo
Enclosing class:
AwsEc2NetworkInterfaceAttachment

public static interface AwsEc2NetworkInterfaceAttachment.Builder extends SdkPojo, CopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>
  • Method Details

    • attachTime

      Indicates when the attachment initiated.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      attachTime - Indicates when the attachment initiated.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

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

      The identifier of the network interface attachment

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

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

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

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

      Valid values: attaching | attached | detaching | detached

      Parameters:
      status - The attachment state.

      Valid values: attaching | attached | detaching | detached

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