Package com.exoscale.sdk.model
Class DbaasMigrationStatus
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasMigrationStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasMigrationStatus extends Object
DbaasMigrationStatus
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DETAILS
static String
JSON_PROPERTY_ERROR
static String
JSON_PROPERTY_MASTER_LAST_IO_SECONDS_AGO
static String
JSON_PROPERTY_MASTER_LINK_STATUS
static String
JSON_PROPERTY_METHOD
static String
JSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description DbaasMigrationStatus()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ERROR
public static final String JSON_PROPERTY_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MASTER_LAST_IO_SECONDS_AGO
public static final String JSON_PROPERTY_MASTER_LAST_IO_SECONDS_AGO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MASTER_LINK_STATUS
public static final String JSON_PROPERTY_MASTER_LINK_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METHOD
public static final String JSON_PROPERTY_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DETAILS
public static final String JSON_PROPERTY_DETAILS
- See Also:
- Constant Field Values
-
-
Method Detail
-
error
public DbaasMigrationStatus error(String error)
-
getError
@Nullable public String getError()
Error message in case that migration has failed- Returns:
- error
-
setError
public void setError(String error)
-
masterLastIoSecondsAgo
public DbaasMigrationStatus masterLastIoSecondsAgo(Long masterLastIoSecondsAgo)
-
getMasterLastIoSecondsAgo
@Nullable public Long getMasterLastIoSecondsAgo()
Redis only: how many seconds since last I/O with redis master- Returns:
- masterLastIoSecondsAgo
-
setMasterLastIoSecondsAgo
public void setMasterLastIoSecondsAgo(Long masterLastIoSecondsAgo)
-
masterLinkStatus
public DbaasMigrationStatus masterLinkStatus(EnumMasterLinkStatus masterLinkStatus)
-
getMasterLinkStatus
@Nullable public EnumMasterLinkStatus getMasterLinkStatus()
Get masterLinkStatus- Returns:
- masterLinkStatus
-
setMasterLinkStatus
public void setMasterLinkStatus(EnumMasterLinkStatus masterLinkStatus)
-
method
public DbaasMigrationStatus method(String method)
-
getMethod
@Nullable public String getMethod()
Migration method. Empty in case of multiple methods or error- Returns:
- method
-
setMethod
public void setMethod(String method)
-
status
public DbaasMigrationStatus status(String status)
-
getStatus
@Nullable public String getStatus()
Migration status- Returns:
- status
-
setStatus
public void setStatus(String status)
-
details
public DbaasMigrationStatus details(List<DbaasMigrationStatusDetailsInner> details)
-
addDetailsItem
public DbaasMigrationStatus addDetailsItem(DbaasMigrationStatusDetailsInner detailsItem)
-
getDetails
@Nullable public List<DbaasMigrationStatusDetailsInner> getDetails()
Migration status per database- Returns:
- details
-
setDetails
public void setDetails(List<DbaasMigrationStatusDetailsInner> details)
-
equals
public boolean equals(Object o)
Return true if this dbaas-migration-status object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-