Package com.vmware.nsx_policy.model
Class DiscoveredVifState.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DiscoveredVifState.Builder
-
- Enclosing class:
- DiscoveredVifState
public static final class DiscoveredVifState.Builder extends java.lang.Object
Builder class forDiscoveredVifState
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDiscoveredVifState
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveredVifState
build()
DiscoveredVifState.Builder
setErrorMsg(java.lang.String errorMsg)
Error encountered during segment port creation for the discovered VIF.DiscoveredVifState.Builder
setId(java.lang.String id)
Id of discovered VIF.DiscoveredVifState.Builder
setSegmentPath(java.lang.String segmentPath)
Segment path related with discovered VIF.DiscoveredVifState.Builder
setSegmentPortPath(java.lang.String segmentPortPath)
SegmentPort path related with discovered VIF.DiscoveredVifState.Builder
setState(java.lang.String state)
Possible values are:DiscoveredVifState.STATE_PENDING
DiscoveredVifState.STATE_ATTACHMENT_IN_PROGRESS
DiscoveredVifState.STATE_ATTACHMENT_SUCCESS
DiscoveredVifState.STATE_ATTACHMENT_FAILED
The state of specific discovered VIF.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDiscoveredVifState
.
-
-
Method Detail
-
setErrorMsg
public DiscoveredVifState.Builder setErrorMsg(java.lang.String errorMsg)
Error encountered during segment port creation for the discovered VIF.- Parameters:
errorMsg
- New value for the property.
-
setId
public DiscoveredVifState.Builder setId(java.lang.String id)
Id of discovered VIF.- Parameters:
id
- New value for the property.
-
setSegmentPath
public DiscoveredVifState.Builder setSegmentPath(java.lang.String segmentPath)
Segment path related with discovered VIF.- Parameters:
segmentPath
- New value for the property.
-
setSegmentPortPath
public DiscoveredVifState.Builder setSegmentPortPath(java.lang.String segmentPortPath)
SegmentPort path related with discovered VIF.- Parameters:
segmentPortPath
- New value for the property.
-
setState
public DiscoveredVifState.Builder setState(java.lang.String state)
Possible values are: The state of specific discovered VIF.- Parameters:
state
- New value for the property.
-
build
public DiscoveredVifState build()
-
-