Package com.oracle.bmc.cloudbridge.model
Class InstanceNetworkInterfaceAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.InstanceNetworkInterfaceAttachment.Builder
-
- Enclosing class:
- InstanceNetworkInterfaceAttachment
public static class InstanceNetworkInterfaceAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
attachmentKey
public InstanceNetworkInterfaceAttachment.Builder attachmentKey(String attachmentKey)
The ID of the network interface attachment.- Parameters:
attachmentKey
- the value to set- Returns:
- this builder
-
timeAttach
public InstanceNetworkInterfaceAttachment.Builder timeAttach(Date timeAttach)
The timestamp when the attachment initiated.- Parameters:
timeAttach
- the value to set- Returns:
- this builder
-
isDeleteOnTermination
public InstanceNetworkInterfaceAttachment.Builder isDeleteOnTermination(Boolean isDeleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.- Parameters:
isDeleteOnTermination
- the value to set- Returns:
- this builder
-
deviceIndex
public InstanceNetworkInterfaceAttachment.Builder deviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.- Parameters:
deviceIndex
- the value to set- Returns:
- this builder
-
networkCardIndex
public InstanceNetworkInterfaceAttachment.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card.- Parameters:
networkCardIndex
- the value to set- Returns:
- this builder
-
status
public InstanceNetworkInterfaceAttachment.Builder status(String status)
The attachment state.- Parameters:
status
- the value to set- Returns:
- this builder
-
build
public InstanceNetworkInterfaceAttachment build()
-
copy
public InstanceNetworkInterfaceAttachment.Builder copy(InstanceNetworkInterfaceAttachment model)
-
-