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 enumRole of this node.static enumCurrent state of the service node -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProgressUpdatesItem(DbaasNodeStateProgressUpdate progressUpdatesItem) booleanReturn 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 nodeinthashCode()progressUpdates(List<DbaasNodeStateProgressUpdate> progressUpdates) role(DbaasNodeState.RoleEnum role) voidvoidsetProgressUpdates(List<DbaasNodeStateProgressUpdate> progressUpdates) voidvoidsetState(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
-