public static final class SegmentPortAttachmentState.Builder
extends java.lang.Object
SegmentPortAttachmentState.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SegmentPortAttachmentState. |
| Modifier and Type | Method and Description |
|---|---|
SegmentPortAttachmentState |
build() |
SegmentPortAttachmentState.Builder |
setAttachers(java.util.List<PortAttacher> attachers)
VM or vmknic entities that are attached to the Segment Port
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SegmentPortAttachmentState.Builder |
setId(java.lang.String id)
VIF ID
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SegmentPortAttachmentState.Builder |
setState(java.lang.String state)
Possible values are:
SegmentPortAttachmentState.STATE_FREE
SegmentPortAttachmentState.STATE_ATTACHED
SegmentPortAttachmentState.STATE_ATTACHED_PENDING_CONF
SegmentPortAttachmentState.STATE_ATTACHED_IN_MOTION
SegmentPortAttachmentState.STATE_DETACHED
A segment port must be in one of following states. |
public Builder()
SegmentPortAttachmentState.public SegmentPortAttachmentState.Builder setAttachers(java.util.List<PortAttacher> attachers)
attachers - New value for the property.public SegmentPortAttachmentState.Builder setId(java.lang.String id)
id - New value for the property.public SegmentPortAttachmentState.Builder setState(java.lang.String state)
state - New value for the property.public SegmentPortAttachmentState build()