Interface AwsEc2NetworkInterfaceAttachment.Builder

    • Method Detail

      • attachTime

        AwsEc2NetworkInterfaceAttachment.Builder attachTime​(String attachTime)

        Indicates when the attachment initiated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        attachTime - Indicates when the attachment initiated.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

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

        AwsEc2NetworkInterfaceAttachment.Builder attachmentId​(String 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

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

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

        AwsEc2NetworkInterfaceAttachment.Builder status​(String 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.