Package com.vmware.nsx_policy.model
Class TransportNodeCollectionState.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TransportNodeCollectionState.Builder
-
- Enclosing class:
- TransportNodeCollectionState
public static final class TransportNodeCollectionState.Builder extends java.lang.Object
Builder class forTransportNodeCollectionState
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTransportNodeCollectionState
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportNodeCollectionState
build()
TransportNodeCollectionState.Builder
setAggregateProgressPercentage(java.lang.Long aggregateProgressPercentage)
Average of all transport node deployment progress in a cluster.TransportNodeCollectionState.Builder
setClusterLevelError(java.lang.String clusterLevelError)
Errors while applying transport node profile which need cluster level action to resolveTransportNodeCollectionState.Builder
setState(java.lang.String state)
Possible values are:TransportNodeCollectionState.STATE_FAILED_TO_CREATE
TransportNodeCollectionState.STATE_FAILED_TO_REALIZE
TransportNodeCollectionState.STATE_IN_PROGRESS
TransportNodeCollectionState.STATE_PROFILE_MISMATCH
TransportNodeCollectionState.STATE_SUCCESS
TransportNodeCollectionState.STATE_TZ_CREATE
TransportNodeCollectionState.STATE_TNP_CREATE
TransportNodeCollectionState.STATE_SEG_SYNC
If the host preparation or transport node creation is going on for any host then state will be \"IN_PROGRESS\".TransportNodeCollectionState.Builder
setStateDetail(java.lang.String stateDetail)
Detailed information about the current state of the installationTransportNodeCollectionState.Builder
setValidationErrors(java.util.List<ValidationError> validationErrors)
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed.TransportNodeCollectionState.Builder
setVlcmTransitionError(java.lang.String vlcmTransitionError)
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTransportNodeCollectionState
.
-
-
Method Detail
-
setAggregateProgressPercentage
public TransportNodeCollectionState.Builder setAggregateProgressPercentage(java.lang.Long aggregateProgressPercentage)
Average of all transport node deployment progress in a cluster. Applicable only if transport node profile is applied on a cluster. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
aggregateProgressPercentage
- New value for the property.
-
setClusterLevelError
public TransportNodeCollectionState.Builder setClusterLevelError(java.lang.String clusterLevelError)
Errors while applying transport node profile which need cluster level action to resolve- Parameters:
clusterLevelError
- New value for the property.
-
setState
public TransportNodeCollectionState.Builder setState(java.lang.String state)
Possible values are:-
TransportNodeCollectionState.STATE_FAILED_TO_CREATE
-
TransportNodeCollectionState.STATE_FAILED_TO_REALIZE
-
TransportNodeCollectionState.STATE_IN_PROGRESS
-
TransportNodeCollectionState.STATE_PROFILE_MISMATCH
-
TransportNodeCollectionState.STATE_SUCCESS
-
TransportNodeCollectionState.STATE_TZ_CREATE
-
TransportNodeCollectionState.STATE_TNP_CREATE
-
TransportNodeCollectionState.STATE_SEG_SYNC
- Parameters:
state
- New value for the property.
-
-
setStateDetail
public TransportNodeCollectionState.Builder setStateDetail(java.lang.String stateDetail)
Detailed information about the current state of the installation- Parameters:
stateDetail
- New value for the property.
-
setValidationErrors
public TransportNodeCollectionState.Builder setValidationErrors(java.util.List<ValidationError> validationErrors)
Transport node profile(TNP) will not be applied to a discovered node(DN) if some validations are not passed. In this case transport node is not created or existing transport node is not updated with TNP configurations.- Parameters:
validationErrors
- New value for the property.
-
setVlcmTransitionError
public TransportNodeCollectionState.Builder setVlcmTransitionError(java.lang.String vlcmTransitionError)
When vLCM is enabled on a compute collection in vSphere the transition workflow is triggered. This field indicates error in this special case. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlcmTransitionError
- New value for the property.
-
build
public TransportNodeCollectionState build()
-
-