Package com.vmware.nsx_policy.model
Class LogicalRouterState.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterState.Builder
-
- Enclosing class:
- LogicalRouterState
public static final class LogicalRouterState.Builder extends java.lang.Object
Builder class forLogicalRouterState
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterState
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterState
.
-
-
Method Detail
-
setDetails
public LogicalRouterState.Builder setDetails(java.util.List<ConfigurationStateElement> details)
Array of configuration state of various sub systems 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:
details
- New value for the property.
-
setFailureCode
public LogicalRouterState.Builder setFailureCode(java.lang.Long failureCode)
Error code 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:
failureCode
- New value for the property.
-
setFailureMessage
public LogicalRouterState.Builder setFailureMessage(java.lang.String failureMessage)
Error message in case of failure 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:
failureMessage
- New value for the property.
-
setState
public LogicalRouterState.Builder setState(java.lang.String state)
Possible values are:-
LogicalRouterState.STATE_PENDING
-
LogicalRouterState.STATE_IN_PROGRESS
-
LogicalRouterState.STATE_SUCCESS
-
LogicalRouterState.STATE_FAILED
-
LogicalRouterState.STATE_PARTIAL_SUCCESS
-
LogicalRouterState.STATE_ORPHANED
-
LogicalRouterState.STATE_UNKNOWN
-
LogicalRouterState.STATE_ERROR
-
LogicalRouterState.STATE_IN_SYNC
-
LogicalRouterState.STATE_NOT_AVAILABLE
-
LogicalRouterState.STATE_VM_DEPLOYMENT_QUEUED
-
LogicalRouterState.STATE_VM_DEPLOYMENT_IN_PROGRESS
-
LogicalRouterState.STATE_VM_DEPLOYMENT_FAILED
-
LogicalRouterState.STATE_VM_POWER_ON_IN_PROGRESS
-
LogicalRouterState.STATE_VM_POWER_ON_FAILED
-
LogicalRouterState.STATE_REGISTRATION_PENDING
-
LogicalRouterState.STATE_NODE_NOT_READY
-
LogicalRouterState.STATE_NODE_READY
-
LogicalRouterState.STATE_VM_POWER_OFF_IN_PROGRESS
-
LogicalRouterState.STATE_VM_POWER_OFF_FAILED
-
LogicalRouterState.STATE_VM_UNDEPLOY_IN_PROGRESS
-
LogicalRouterState.STATE_VM_UNDEPLOY_FAILED
-
LogicalRouterState.STATE_VM_UNDEPLOY_SUCCESSFUL
-
LogicalRouterState.STATE_EDGE_CONFIG_ERROR
-
LogicalRouterState.STATE_VM_DEPLOYMENT_RESTARTED
-
LogicalRouterState.STATE_REGISTRATION_FAILED
-
LogicalRouterState.STATE_TRANSPORT_NODE_SYNC_PENDING
-
LogicalRouterState.STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
-
LogicalRouterState.STATE_EDGE_HARDWARE_NOT_SUPPORTED
-
LogicalRouterState.STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
-
LogicalRouterState.STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
-
LogicalRouterState.STATE_TZ_ENDPOINTS_NOT_SPECIFIED
-
LogicalRouterState.STATE_NO_PNIC_PREPARED_IN_EDGE
-
LogicalRouterState.STATE_APPLIANCE_INTERNAL_ERROR
-
LogicalRouterState.STATE_VTEP_DHCP_NOT_SUPPORTED
-
LogicalRouterState.STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
-
LogicalRouterState.STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
-
LogicalRouterState.STATE_HOSTSWITCH_PROFILE_NOT_FOUND
-
LogicalRouterState.STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
-
LogicalRouterState.STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
-
LogicalRouterState.STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
-
LogicalRouterState.STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
-
LogicalRouterState.STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
-
LogicalRouterState.STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
-
LogicalRouterState.STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
-
LogicalRouterState.STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
-
LogicalRouterState.STATE_NO_PNIC_SPECIFIED_IN_TN
-
LogicalRouterState.STATE_INVALID_PNIC_DEVICE_NAME
-
LogicalRouterState.STATE_TRANSPORT_NODE_READY
-
LogicalRouterState.STATE_VM_NETWORK_EDIT_PENDING
-
LogicalRouterState.STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
-
LogicalRouterState.STATE_MPA_DISCONNECTED
-
LogicalRouterState.STATE_VM_RENAME_PENDING
-
LogicalRouterState.STATE_VM_CONFIG_EDIT_PENDING
-
LogicalRouterState.STATE_VM_NETWORK_EDIT_FAILED
-
LogicalRouterState.STATE_VM_RENAME_FAILED
-
LogicalRouterState.STATE_VM_CONFIG_EDIT_FAILED
-
LogicalRouterState.STATE_VM_CONFIG_DISCREPANCY
-
LogicalRouterState.STATE_VM_NODE_REFRESH_FAILED
-
LogicalRouterState.STATE_VM_PLACEMENT_REFRESH_FAILED
-
LogicalRouterState.STATE_REGISTRATION_TIMEDOUT
-
LogicalRouterState.STATE_REPLACE_FAILED
-
LogicalRouterState.STATE_UPLINK_FROM_TEAMING_POLICY_NOT_MAPPED
-
LogicalRouterState.STATE_LOGICAL_SWITCH_NAMED_TEAMING_HAS_NO_PNIC_BACKING
-
LogicalRouterState.STATE_DELETE_VM_IN_REDEPLOY_FAILED
-
LogicalRouterState.STATE_DEPLOY_VM_IN_REDEPLOY_FAILED
-
LogicalRouterState.STATE_INSUFFICIENT_RESOURCES_IN_EDGE_NODE_FOR_SERVICE
-
LogicalRouterState.STATE_VM_RESOURCE_RESERVATION_FAILED
-
LogicalRouterState.STATE_DUPLICATE_PNICS_IN_TEAMINGS_WITH_MULTIPLE_UPLINKS_AND_FAILOVER_ORDER
-
LogicalRouterState.STATE_DUPLICATE_VLANS_SHARING_SAME_PNICMULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
LogicalRouterState.STATE_EDGE_NODE_SETTINGS_MISMATCH_RESOLVE
-
LogicalRouterState.STATE_EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE
-
LogicalRouterState.STATE_EDGE_NODE_SETTINGS_AND_VSPHERE_SETTINGS_ARE_CHANGED_RESOLVE
-
LogicalRouterState.STATE_EDGE_VSPHERE_LOCATION_MISMATCH_RESOLVE
-
LogicalRouterState.STATE_COMPUTE_MANAGER_NOT_FOUND
-
LogicalRouterState.STATE_DELETE_IN_PROGRESS
-
LogicalRouterState.STATE_ADVANCED_CONFIG_EDIT_FAILED
-
LogicalRouterState.STATE_UPT_MODE_REALIZATION_POLL_TIMED_OUT
-
LogicalRouterState.STATE_DATAPATH_CONFIGURATION_EDIT_FAILED
-
LogicalRouterState.STATE_MAINTENANCE_MODE_ENABLED
-
LogicalRouterState.STATE_ERROR_IN_ENABLE_MAINTENANCE_MODE
-
LogicalRouterState.STATE_ERROR_IN_DISABLE_MAINTENANCE_MODE
-
LogicalRouterState.STATE_CONFIGURE_UPT_ON_VM_FAILED
-
LogicalRouterState.STATE_VM_VERSION_IS_UPT_INCOMPATIBLE
-
LogicalRouterState.STATE_DELETE_FAILED_FOR_DIFFERENT_MOREF_ID
-
LogicalRouterState.STATE_DELETE_FAILED_ON_VM_NOT_FOUND
-
LogicalRouterState.STATE_DELETE_FAILED_FOR_NON_LCM_EDGE
-
LogicalRouterState.STATE_ADVANCED_CONFIG_EDIT_PENDING
-
LogicalRouterState.STATE_DUPLICATE_VLANS_SHARING_SAME_PNIC
-
LogicalRouterState.STATE_MULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
LogicalRouterState.STATE_REDEPLOY_ACTIVITY_FAILED
-
LogicalRouterState.STATE_REDEPLOY_ACTIVITY_IN_PROGRESS
-
LogicalRouterState.STATE_REDEPLOY_ACTIVITY_SCHEDULED
-
LogicalRouterState.STATE_REDEPLOY_ACTIVITY_SUCCESSFUL
-
LogicalRouterState.STATE_REPLACE_ACTIVITY_FAILED
-
LogicalRouterState.STATE_REPLACE_ACTIVITY_IN_PROGRESS
-
LogicalRouterState.STATE_REPLACE_ACTIVITY_SCHEDULED
-
LogicalRouterState.STATE_REPLACE_ACTIVITY_SUCCESSFUL
-
LogicalRouterState.STATE_REPLACED_RPC_CLIENT_OF_TN
-
LogicalRouterState.STATE_RETRYING_REPLACE
-
LogicalRouterState.STATE_UNABLE_TO_DELETE_EDGE_NODE_VM_INTERNAL_ERROR
-
LogicalRouterState.STATE_VM_REDEPLOY_FAILED
-
LogicalRouterState.STATE_VM_RESOURCE_RESERVATION_EDIT_PENDING
-
LogicalRouterState.STATE_REDEPLOYED_VM_REGISTRATION_PENDING
- Parameters:
state
- New value for the property.
-
-
setPendingChangeList
public LogicalRouterState.Builder setPendingChangeList(java.util.List<java.lang.String> pendingChangeList)
Request identifier of the API which modified the entity. 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:
pendingChangeList
- New value for the property.
-
build
public LogicalRouterState build()
-
-