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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2NetworkInterfaceAttachment.BuilderattachmentId(String attachmentId)The identifier of the network interface attachmentAwsEc2NetworkInterfaceAttachment.BuilderattachTime(String attachTime)Indicates when the attachment initiated.AwsEc2NetworkInterfaceAttachment.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the network interface is deleted when the instance is terminated.AwsEc2NetworkInterfaceAttachment.BuilderdeviceIndex(Integer deviceIndex)The device index of the network interface attachment on the instance.AwsEc2NetworkInterfaceAttachment.BuilderinstanceId(String instanceId)The ID of the instance.AwsEc2NetworkInterfaceAttachment.BuilderinstanceOwnerId(String instanceOwnerId)The Amazon Web Services account ID of the owner of the instance.AwsEc2NetworkInterfaceAttachment.Builderstatus(String status)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, sdkFields
-
-
-
-
Method Detail
-
attachTime
AwsEc2NetworkInterfaceAttachment.Builder attachTime(String attachTime)
Indicates when the attachment initiated.
Uses the
date-timeformat specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT. For example,2020-03-22T13:22:13.933Z.- Parameters:
attachTime- Indicates when the attachment initiated.Uses the
date-timeformat specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated byT. For example,2020-03-22T13:22:13.933Z.- 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.
-
-