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