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 Classes Modifier and Type Class Description static class
DbaasNodeState.RoleEnum
Role of this node.static class
DbaasNodeState.StateEnum
Current state of the service node
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PROGRESS_UPDATES
static String
JSON_PROPERTY_ROLE
static String
JSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description DbaasNodeState()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROGRESS_UPDATES
public static final String JSON_PROPERTY_PROGRESS_UPDATES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE
public static final String JSON_PROPERTY_ROLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public DbaasNodeState name(String name)
-
getName
@Nonnull public String getName()
Name of the service node- Returns:
- name
-
setName
public void setName(String name)
-
progressUpdates
public DbaasNodeState progressUpdates(List<DbaasNodeStateProgressUpdate> progressUpdates)
-
addProgressUpdatesItem
public DbaasNodeState addProgressUpdatesItem(DbaasNodeStateProgressUpdate progressUpdatesItem)
-
getProgressUpdates
@Nullable public List<DbaasNodeStateProgressUpdate> getProgressUpdates()
Extra information regarding the progress for current state- Returns:
- progressUpdates
-
setProgressUpdates
public void setProgressUpdates(List<DbaasNodeStateProgressUpdate> progressUpdates)
-
role
public DbaasNodeState role(DbaasNodeState.RoleEnum role)
-
getRole
@Nullable public DbaasNodeState.RoleEnum getRole()
Role of this node. Only returned for a subset of service types- Returns:
- role
-
setRole
public void setRole(DbaasNodeState.RoleEnum role)
-
state
public DbaasNodeState state(DbaasNodeState.StateEnum state)
-
getState
@Nonnull public DbaasNodeState.StateEnum getState()
Current state of the service node- Returns:
- state
-
setState
public void setState(DbaasNodeState.StateEnum state)
-
equals
public boolean equals(Object o)
Return true if this dbaas-node-state object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-