public static class InstanceNetworkInterfaceAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceNetworkInterfaceAttachment.Builder |
attachmentKey(String attachmentKey)
The ID of the network interface attachment.
|
InstanceNetworkInterfaceAttachment |
build() |
InstanceNetworkInterfaceAttachment.Builder |
copy(InstanceNetworkInterfaceAttachment model) |
InstanceNetworkInterfaceAttachment.Builder |
deviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
|
InstanceNetworkInterfaceAttachment.Builder |
isDeleteOnTermination(Boolean isDeleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
InstanceNetworkInterfaceAttachment.Builder |
networkCardIndex(Integer networkCardIndex)
The index of the network card.
|
InstanceNetworkInterfaceAttachment.Builder |
status(String status)
The attachment state.
|
InstanceNetworkInterfaceAttachment.Builder |
timeAttach(Date timeAttach)
The timestamp when the attachment initiated.
|
public InstanceNetworkInterfaceAttachment.Builder attachmentKey(String attachmentKey)
The ID of the network interface attachment.
attachmentKey
- the value to setpublic InstanceNetworkInterfaceAttachment.Builder timeAttach(Date timeAttach)
The timestamp when the attachment initiated.
timeAttach
- the value to setpublic InstanceNetworkInterfaceAttachment.Builder isDeleteOnTermination(Boolean isDeleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
isDeleteOnTermination
- the value to setpublic InstanceNetworkInterfaceAttachment.Builder deviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
deviceIndex
- the value to setpublic InstanceNetworkInterfaceAttachment.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex
- the value to setpublic InstanceNetworkInterfaceAttachment.Builder status(String status)
The attachment state.
status
- the value to setpublic InstanceNetworkInterfaceAttachment build()
public InstanceNetworkInterfaceAttachment.Builder copy(InstanceNetworkInterfaceAttachment model)
Copyright © 2016–2024. All rights reserved.