Package com.exoscale.sdk.model
Class DbaasNodeState
java.lang.Object
com.exoscale.sdk.model.DbaasNodeState
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class DbaasNodeState
extends Object
Automatic maintenance settings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Role of this node.static enum
Current state of the service node -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProgressUpdatesItem
(DbaasNodeStateProgressUpdate progressUpdatesItem) boolean
Return true if this dbaas-node-state object is equal to o.getName()
Name of the service nodeExtra information regarding the progress for current stategetRole()
Role of this node.getState()
Current state of the service nodeint
hashCode()
progressUpdates
(List<DbaasNodeStateProgressUpdate> progressUpdates) role
(DbaasNodeState.RoleEnum role) void
void
setProgressUpdates
(List<DbaasNodeStateProgressUpdate> progressUpdates) void
void
setState
(DbaasNodeState.StateEnum state) state
(DbaasNodeState.StateEnum state) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROGRESS_UPDATES
- See Also:
-
JSON_PROPERTY_ROLE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
DbaasNodeState
public DbaasNodeState()
-
-
Method Details
-
name
-
getName
Name of the service node- Returns:
- name
-
setName
-
progressUpdates
-
addProgressUpdatesItem
-
getProgressUpdates
Extra information regarding the progress for current state- Returns:
- progressUpdates
-
setProgressUpdates
-
role
-
getRole
Role of this node. Only returned for a subset of service types- Returns:
- role
-
setRole
-
state
-
getState
Current state of the service node- Returns:
- state
-
setState
-
equals
Return true if this dbaas-node-state object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-