Package com.exoscale.sdk.model
Class UpdateDbaasServiceMysqlRequestMigration
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateDbaasServiceMysqlRequestMigration
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateDbaasServiceMysqlRequestMigration extends Object
Migrate data from existing server
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DBNAME
static String
JSON_PROPERTY_HOST
static String
JSON_PROPERTY_IGNORE_DBS
static String
JSON_PROPERTY_METHOD
static String
JSON_PROPERTY_PASSWORD
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_SSL
static String
JSON_PROPERTY_USERNAME
-
Constructor Summary
Constructors Constructor Description UpdateDbaasServiceMysqlRequestMigration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDbaasServiceMysqlRequestMigration
dbname(String dbname)
boolean
equals(Object o)
Return true if this update_dbaas_service_mysql_request_migration object is equal to o.String
getDbname()
Database name for bootstrapping the initial connectionString
getHost()
Hostname or IP address of the server where to migrate data fromString
getIgnoreDbs()
Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)EnumMigrationMethod
getMethod()
Get methodString
getPassword()
Password for authentication with the server where to migrate data fromLong
getPort()
Port number of the server where to migrate data from minimum: 1 maximum: 65535Boolean
getSsl()
The server where to migrate data from is secured with SSLString
getUsername()
User name for authentication with the server where to migrate data fromint
hashCode()
UpdateDbaasServiceMysqlRequestMigration
host(String host)
UpdateDbaasServiceMysqlRequestMigration
ignoreDbs(String ignoreDbs)
UpdateDbaasServiceMysqlRequestMigration
method(EnumMigrationMethod method)
UpdateDbaasServiceMysqlRequestMigration
password(String password)
UpdateDbaasServiceMysqlRequestMigration
port(Long port)
void
setDbname(String dbname)
void
setHost(String host)
void
setIgnoreDbs(String ignoreDbs)
void
setMethod(EnumMigrationMethod method)
void
setPassword(String password)
void
setPort(Long port)
void
setSsl(Boolean ssl)
void
setUsername(String username)
UpdateDbaasServiceMysqlRequestMigration
ssl(Boolean ssl)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.UpdateDbaasServiceMysqlRequestMigration
username(String username)
-
-
-
Field Detail
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSL
public static final String JSON_PROPERTY_SSL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERNAME
public static final String JSON_PROPERTY_USERNAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DBNAME
public static final String JSON_PROPERTY_DBNAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IGNORE_DBS
public static final String JSON_PROPERTY_IGNORE_DBS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METHOD
public static final String JSON_PROPERTY_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
host
public UpdateDbaasServiceMysqlRequestMigration host(String host)
-
getHost
@Nonnull public String getHost()
Hostname or IP address of the server where to migrate data from- Returns:
- host
-
setHost
public void setHost(String host)
-
port
public UpdateDbaasServiceMysqlRequestMigration port(Long port)
-
getPort
@Nonnull public Long getPort()
Port number of the server where to migrate data from minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
password
public UpdateDbaasServiceMysqlRequestMigration password(String password)
-
getPassword
@Nullable public String getPassword()
Password for authentication with the server where to migrate data from- Returns:
- password
-
setPassword
public void setPassword(String password)
-
ssl
public UpdateDbaasServiceMysqlRequestMigration ssl(Boolean ssl)
-
getSsl
@Nullable public Boolean getSsl()
The server where to migrate data from is secured with SSL- Returns:
- ssl
-
setSsl
public void setSsl(Boolean ssl)
-
username
public UpdateDbaasServiceMysqlRequestMigration username(String username)
-
getUsername
@Nullable public String getUsername()
User name for authentication with the server where to migrate data from- Returns:
- username
-
setUsername
public void setUsername(String username)
-
dbname
public UpdateDbaasServiceMysqlRequestMigration dbname(String dbname)
-
getDbname
@Nullable public String getDbname()
Database name for bootstrapping the initial connection- Returns:
- dbname
-
setDbname
public void setDbname(String dbname)
-
ignoreDbs
public UpdateDbaasServiceMysqlRequestMigration ignoreDbs(String ignoreDbs)
-
getIgnoreDbs
@Nullable public String getIgnoreDbs()
Comma-separated list of databases, which should be ignored during migration (supported by MySQL only at the moment)- Returns:
- ignoreDbs
-
setIgnoreDbs
public void setIgnoreDbs(String ignoreDbs)
-
method
public UpdateDbaasServiceMysqlRequestMigration method(EnumMigrationMethod method)
-
getMethod
@Nullable public EnumMigrationMethod getMethod()
Get method- Returns:
- method
-
setMethod
public void setMethod(EnumMigrationMethod method)
-
equals
public boolean equals(Object o)
Return true if this update_dbaas_service_mysql_request_migration object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-