Interface AwsEc2NetworkInterfaceAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,
,AwsEc2NetworkInterfaceAttachment> SdkBuilder<AwsEc2NetworkInterfaceAttachment.Builder,
,AwsEc2NetworkInterfaceAttachment> SdkPojo
- Enclosing class:
AwsEc2NetworkInterfaceAttachment
@Mutable
@NotThreadSafe
public static interface AwsEc2NetworkInterfaceAttachment.Builder
extends SdkPojo, CopyableBuilder<AwsEc2NetworkInterfaceAttachment.Builder,AwsEc2NetworkInterfaceAttachment>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId
(String attachmentId) The identifier of the network interface attachmentattachTime
(String attachTime) Indicates when the attachment initiated.deleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.deviceIndex
(Integer deviceIndex) The device index of the network interface attachment on the instance.instanceId
(String instanceId) The ID of the instance.instanceOwnerId
(String instanceOwnerId) The Amazon Web Services account ID of the owner of the instance.The attachment state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.
-