Package com.exoscale.sdk.model
Class DbaasServiceRedisConnectionInfo
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServiceRedisConnectionInfo
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServiceRedisConnectionInfo extends Object
Redis connection information properties
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_PASSWORD
static String
JSON_PROPERTY_SLAVE
static String
JSON_PROPERTY_URI
-
Constructor Summary
Constructors Constructor Description DbaasServiceRedisConnectionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbaasServiceRedisConnectionInfo
addSlaveItem(String slaveItem)
DbaasServiceRedisConnectionInfo
addUriItem(String uriItem)
boolean
equals(Object o)
Return true if this dbaas_service_redis_connection_info object is equal to o.String
getPassword()
Get passwordList<String>
getSlave()
Get slaveList<String>
getUri()
Get uriint
hashCode()
DbaasServiceRedisConnectionInfo
password(String password)
void
setPassword(String password)
void
setSlave(List<String> slave)
void
setUri(List<String> uri)
DbaasServiceRedisConnectionInfo
slave(List<String> slave)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.DbaasServiceRedisConnectionInfo
uri(List<String> uri)
-
-
-
Field Detail
-
JSON_PROPERTY_URI
public static final String JSON_PROPERTY_URI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SLAVE
public static final String JSON_PROPERTY_SLAVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
uri
public DbaasServiceRedisConnectionInfo uri(List<String> uri)
-
addUriItem
public DbaasServiceRedisConnectionInfo addUriItem(String uriItem)
-
password
public DbaasServiceRedisConnectionInfo password(String password)
-
getPassword
@Nullable public String getPassword()
Get password- Returns:
- password
-
setPassword
public void setPassword(String password)
-
slave
public DbaasServiceRedisConnectionInfo slave(List<String> slave)
-
addSlaveItem
public DbaasServiceRedisConnectionInfo addSlaveItem(String slaveItem)
-
equals
public boolean equals(Object o)
Return true if this dbaas_service_redis_connection_info object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-