Package com.vmware.nsx_policy.model
Class ConfigurationStateElement.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ConfigurationStateElement.Builder
-
- Enclosing class:
- ConfigurationStateElement
public static final class ConfigurationStateElement.Builder extends java.lang.Object
Builder class forConfigurationStateElement
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofConfigurationStateElement
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofConfigurationStateElement
.
-
-
Method Detail
-
setFailureCode
public ConfigurationStateElement.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 ConfigurationStateElement.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 ConfigurationStateElement.Builder setState(java.lang.String state)
Possible values are:-
ConfigurationStateElement.STATE_IN_PROGRESS
-
ConfigurationStateElement.STATE_SUCCESS
-
ConfigurationStateElement.STATE_FAILED
-
ConfigurationStateElement.STATE_PARTIAL_SUCCESS
-
ConfigurationStateElement.STATE_IN_SYNC
-
ConfigurationStateElement.STATE_VM_DEPLOYMENT_FAILED
-
ConfigurationStateElement.STATE_VM_POWER_ON_FAILED
-
ConfigurationStateElement.STATE_VM_POWER_OFF_FAILED
-
ConfigurationStateElement.STATE_VM_UNDEPLOY_FAILED
-
ConfigurationStateElement.STATE_REPLACE_FAILED
-
ConfigurationStateElement.STATE_UPLINK_FROM_TEAMING_POLICY_NOT_MAPPED
-
ConfigurationStateElement.STATE_LOGICAL_SWITCH_NAMED_TEAMING_HAS_NO_PNIC_BACKING
-
ConfigurationStateElement.STATE_DELETE_VM_IN_REDEPLOY_FAILED
-
ConfigurationStateElement.STATE_DEPLOY_VM_IN_REDEPLOY_FAILED
-
ConfigurationStateElement.STATE_INSUFFICIENT_RESOURCES_IN_EDGE_NODE_FOR_SERVICE
-
ConfigurationStateElement.STATE_EDGE_CONFIG_ERROR
-
ConfigurationStateElement.STATE_REGISTRATION_FAILED
-
ConfigurationStateElement.STATE_TRANSPORT_NODE_CONFIGURATION_MISSING
-
ConfigurationStateElement.STATE_EDGE_HARDWARE_NOT_SUPPORTED
-
ConfigurationStateElement.STATE_MULTIPLE_OVERLAY_TZS_NOT_SUPPORTED
-
ConfigurationStateElement.STATE_TN_OVERLAY_TZ_IN_USE_BY_EDGE_CLUSTER
-
ConfigurationStateElement.STATE_TZ_ENDPOINTS_NOT_SPECIFIED
-
ConfigurationStateElement.STATE_NO_PNIC_PREPARED_IN_EDGE
-
ConfigurationStateElement.STATE_APPLIANCE_INTERNAL_ERROR
-
ConfigurationStateElement.STATE_VTEP_DHCP_NOT_SUPPORTED
-
ConfigurationStateElement.STATE_UNSUPPORTED_HOST_SWITCH_PROFILE
-
ConfigurationStateElement.STATE_UPLINK_HOST_SWITCH_PROFILE_NOT_SPECIFIED
-
ConfigurationStateElement.STATE_HOSTSWITCH_PROFILE_NOT_FOUND
-
ConfigurationStateElement.STATE_LLDP_SEND_ENABLED_NOT_SUPPORTED
-
ConfigurationStateElement.STATE_UNSUPPORTED_NAMED_TEAMING_POLICY
-
ConfigurationStateElement.STATE_LBSRCID_NOT_SUPPORTED_FOR_EDGE_VM
-
ConfigurationStateElement.STATE_LACP_NOT_SUPPORTED_FOR_EDGE_VM
-
ConfigurationStateElement.STATE_STANDBY_UPLINKS_NOT_SUPPORTED_FOR_EDGE_VM
-
ConfigurationStateElement.STATE_MULTIPLE_ACTIVE_UPLINKS_NOT_SUPPORTED_FOR_EDGE
-
ConfigurationStateElement.STATE_UNSUPPORTED_LACP_LB_ALGO_FOR_NODE
-
ConfigurationStateElement.STATE_EDGE_NODE_VERSION_NOT_SUPPORTED
-
ConfigurationStateElement.STATE_NO_PNIC_SPECIFIED_IN_TN
-
ConfigurationStateElement.STATE_INVALID_PNIC_DEVICE_NAME
-
ConfigurationStateElement.STATE_UNSUPPORTED_DEFAULT_TEAMING_POLICY
-
ConfigurationStateElement.STATE_MPA_DISCONNECTED
-
ConfigurationStateElement.STATE_VM_NETWORK_EDIT_PENDING
-
ConfigurationStateElement.STATE_VM_RENAME_PENDING
-
ConfigurationStateElement.STATE_VM_CONFIG_EDIT_PENDING
-
ConfigurationStateElement.STATE_VM_NETWORK_EDIT_FAILED
-
ConfigurationStateElement.STATE_VM_RENAME_FAILED
-
ConfigurationStateElement.STATE_VM_CONFIG_EDIT_FAILED
-
ConfigurationStateElement.STATE_VM_CONFIG_DISCREPANCY
-
ConfigurationStateElement.STATE_VM_NODE_REFRESH_FAILED
-
ConfigurationStateElement.STATE_VM_PLACEMENT_REFRESH_FAILED
-
ConfigurationStateElement.STATE_NOT_AVAILABLE
-
ConfigurationStateElement.STATE_REGISTRATION_TIMEDOUT
-
ConfigurationStateElement.STATE_ADVANCED_CONFIG_EDIT_FAILED
-
ConfigurationStateElement.STATE_VM_RESOURCE_RESERVATION_FAILED
-
ConfigurationStateElement.STATE_UPT_MODE_REALIZATION_POLL_TIMED_OUT
-
ConfigurationStateElement.STATE_DATAPATH_CONFIGURATION_EDIT_FAILED
-
ConfigurationStateElement.STATE_MAINTENANCE_MODE_ENABLED
-
ConfigurationStateElement.STATE_ERROR_IN_ENABLE_MAINTENANCE_MODE
-
ConfigurationStateElement.STATE_ERROR_IN_DISABLE_MAINTENANCE_MODE
-
ConfigurationStateElement.STATE_CONFIGURE_UPT_ON_VM_FAILED
-
ConfigurationStateElement.STATE_VM_VERSION_IS_UPT_INCOMPATIBLE
-
ConfigurationStateElement.STATE_PENDING
-
ConfigurationStateElement.STATE_ORPHANED
-
ConfigurationStateElement.STATE_UNKNOWN
-
ConfigurationStateElement.STATE_ERROR
-
ConfigurationStateElement.STATE_VM_DEPLOYMENT_QUEUED
-
ConfigurationStateElement.STATE_VM_DEPLOYMENT_IN_PROGRESS
-
ConfigurationStateElement.STATE_VM_POWER_ON_IN_PROGRESS
-
ConfigurationStateElement.STATE_REGISTRATION_PENDING
-
ConfigurationStateElement.STATE_NODE_NOT_READY
-
ConfigurationStateElement.STATE_NODE_READY
-
ConfigurationStateElement.STATE_VM_POWER_OFF_IN_PROGRESS
-
ConfigurationStateElement.STATE_VM_UNDEPLOY_IN_PROGRESS
-
ConfigurationStateElement.STATE_VM_UNDEPLOY_SUCCESSFUL
-
ConfigurationStateElement.STATE_VM_DEPLOYMENT_RESTARTED
-
ConfigurationStateElement.STATE_TRANSPORT_NODE_SYNC_PENDING
-
ConfigurationStateElement.STATE_TRANSPORT_NODE_READY
-
ConfigurationStateElement.STATE_DUPLICATE_PNICS_IN_TEAMINGS_WITH_MULTIPLE_UPLINKS_AND_FAILOVER_ORDER
-
ConfigurationStateElement.STATE_DUPLICATE_VLANS_SHARING_SAME_PNICMULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
ConfigurationStateElement.STATE_EDGE_NODE_SETTINGS_MISMATCH_RESOLVE
-
ConfigurationStateElement.STATE_EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE
-
ConfigurationStateElement.STATE_EDGE_NODE_SETTINGS_AND_VSPHERE_SETTINGS_ARE_CHANGED_RESOLVE
-
ConfigurationStateElement.STATE_EDGE_VSPHERE_LOCATION_MISMATCH_RESOLVE
-
ConfigurationStateElement.STATE_COMPUTE_MANAGER_NOT_FOUND
-
ConfigurationStateElement.STATE_ADVANCED_CONFIG_EDIT_PENDING
-
ConfigurationStateElement.STATE_DELETE_FAILED_FOR_DIFFERENT_MOREF_ID
-
ConfigurationStateElement.STATE_DELETE_FAILED_FOR_NON_LCM_EDGE
-
ConfigurationStateElement.STATE_DELETE_FAILED_ON_VM_NOT_FOUND
-
ConfigurationStateElement.STATE_DELETE_IN_PROGRESS
-
ConfigurationStateElement.STATE_DUPLICATE_VLANS_SHARING_SAME_PNIC
-
ConfigurationStateElement.STATE_MULTIPLE_UPLINKS_IN_NAMED_TEAMING_NOT_SUPPORTED_IF_UPLINK_IN_DEFAULT_TEAMING
-
ConfigurationStateElement.STATE_REDEPLOY_ACTIVITY_FAILED
-
ConfigurationStateElement.STATE_REDEPLOY_ACTIVITY_IN_PROGRESS
-
ConfigurationStateElement.STATE_REDEPLOY_ACTIVITY_SCHEDULED
-
ConfigurationStateElement.STATE_REDEPLOY_ACTIVITY_SUCCESSFUL
-
ConfigurationStateElement.STATE_REPLACE_ACTIVITY_FAILED
-
ConfigurationStateElement.STATE_REPLACE_ACTIVITY_IN_PROGRESS
-
ConfigurationStateElement.STATE_REPLACE_ACTIVITY_SCHEDULED
-
ConfigurationStateElement.STATE_REPLACE_ACTIVITY_SUCCESSFUL
-
ConfigurationStateElement.STATE_REPLACED_RPC_CLIENT_OF_TN
-
ConfigurationStateElement.STATE_RETRYING_REPLACE
-
ConfigurationStateElement.STATE_UNABLE_TO_DELETE_EDGE_NODE_VM_INTERNAL_ERROR
-
ConfigurationStateElement.STATE_VM_REDEPLOY_FAILED
-
ConfigurationStateElement.STATE_VM_RESOURCE_RESERVATION_EDIT_PENDING
-
ConfigurationStateElement.STATE_REDEPLOYED_VM_REGISTRATION_PENDING
- Parameters:
state
- New value for the property.
-
-
setSubSystemAddress
public ConfigurationStateElement.Builder setSubSystemAddress(java.lang.String subSystemAddress)
URI of backing resource on sub system 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:
subSystemAddress
- New value for the property.
-
setSubSystemId
public ConfigurationStateElement.Builder setSubSystemId(java.lang.String subSystemId)
Identifier of backing resource on sub system 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:
subSystemId
- New value for the property.
-
setSubSystemName
public ConfigurationStateElement.Builder setSubSystemName(java.lang.String subSystemName)
Name of backing resource on sub system 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:
subSystemName
- New value for the property.
-
setSubSystemType
public ConfigurationStateElement.Builder setSubSystemType(java.lang.String subSystemType)
Type of backing resource on sub system 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:
subSystemType
- New value for the property.
-
build
public ConfigurationStateElement build()
-
-