Package com.exoscale.sdk.model
Class DbaasServiceComponents
- java.lang.Object
-
- com.exoscale.sdk.model.DbaasServiceComponents
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class DbaasServiceComponents extends Object
Service component information objects
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbaasServiceComponents.RouteEnum
Network access routestatic class
DbaasServiceComponents.UsageEnum
DNS usage name
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_COMPONENT
static String
JSON_PROPERTY_HOST
static String
JSON_PROPERTY_KAFKA_AUTHENTICATION_METHOD
static String
JSON_PROPERTY_PATH
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_ROUTE
static String
JSON_PROPERTY_SSL
static String
JSON_PROPERTY_USAGE
-
Constructor Summary
Constructors Constructor Description DbaasServiceComponents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbaasServiceComponents
component(String component)
boolean
equals(Object o)
Return true if this dbaas-service-components object is equal to o.String
getComponent()
Service component nameString
getHost()
DNS name for connecting to the service componentEnumKafkaAuthMethod
getKafkaAuthenticationMethod()
Get kafkaAuthenticationMethodString
getPath()
Path component of the service URL (useful only if service component is HTTP or HTTPS endpoint)Long
getPort()
Port number for connecting to the service component minimum: 0 maximum: 65535DbaasServiceComponents.RouteEnum
getRoute()
Network access routeBoolean
getSsl()
Whether the endpoint is encrypted or accepts plaintext.DbaasServiceComponents.UsageEnum
getUsage()
DNS usage nameint
hashCode()
DbaasServiceComponents
host(String host)
DbaasServiceComponents
kafkaAuthenticationMethod(EnumKafkaAuthMethod kafkaAuthenticationMethod)
DbaasServiceComponents
path(String path)
DbaasServiceComponents
port(Long port)
DbaasServiceComponents
route(DbaasServiceComponents.RouteEnum route)
void
setComponent(String component)
void
setHost(String host)
void
setKafkaAuthenticationMethod(EnumKafkaAuthMethod kafkaAuthenticationMethod)
void
setPath(String path)
void
setPort(Long port)
void
setRoute(DbaasServiceComponents.RouteEnum route)
void
setSsl(Boolean ssl)
void
setUsage(DbaasServiceComponents.UsageEnum usage)
DbaasServiceComponents
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.DbaasServiceComponents
usage(DbaasServiceComponents.UsageEnum usage)
-
-
-
Field Detail
-
JSON_PROPERTY_COMPONENT
public static final String JSON_PROPERTY_COMPONENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KAFKA_AUTHENTICATION_METHOD
public static final String JSON_PROPERTY_KAFKA_AUTHENTICATION_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROUTE
public static final String JSON_PROPERTY_ROUTE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSL
public static final String JSON_PROPERTY_SSL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USAGE
public static final String JSON_PROPERTY_USAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
component
public DbaasServiceComponents component(String component)
-
getComponent
@Nonnull public String getComponent()
Service component name- Returns:
- component
-
setComponent
public void setComponent(String component)
-
host
public DbaasServiceComponents host(String host)
-
getHost
@Nonnull public String getHost()
DNS name for connecting to the service component- Returns:
- host
-
setHost
public void setHost(String host)
-
kafkaAuthenticationMethod
public DbaasServiceComponents kafkaAuthenticationMethod(EnumKafkaAuthMethod kafkaAuthenticationMethod)
-
getKafkaAuthenticationMethod
@Nullable public EnumKafkaAuthMethod getKafkaAuthenticationMethod()
Get kafkaAuthenticationMethod- Returns:
- kafkaAuthenticationMethod
-
setKafkaAuthenticationMethod
public void setKafkaAuthenticationMethod(EnumKafkaAuthMethod kafkaAuthenticationMethod)
-
path
public DbaasServiceComponents path(String path)
-
getPath
@Nullable public String getPath()
Path component of the service URL (useful only if service component is HTTP or HTTPS endpoint)- Returns:
- path
-
setPath
public void setPath(String path)
-
port
public DbaasServiceComponents port(Long port)
-
getPort
@Nonnull public Long getPort()
Port number for connecting to the service component minimum: 0 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
route
public DbaasServiceComponents route(DbaasServiceComponents.RouteEnum route)
-
getRoute
@Nonnull public DbaasServiceComponents.RouteEnum getRoute()
Network access route- Returns:
- route
-
setRoute
public void setRoute(DbaasServiceComponents.RouteEnum route)
-
ssl
public DbaasServiceComponents ssl(Boolean ssl)
-
getSsl
@Nullable public Boolean getSsl()
Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption.- Returns:
- ssl
-
setSsl
public void setSsl(Boolean ssl)
-
usage
public DbaasServiceComponents usage(DbaasServiceComponents.UsageEnum usage)
-
getUsage
@Nonnull public DbaasServiceComponents.UsageEnum getUsage()
DNS usage name- Returns:
- usage
-
setUsage
public void setUsage(DbaasServiceComponents.UsageEnum usage)
-
equals
public boolean equals(Object o)
Return true if this dbaas-service-components object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-