Package com.exoscale.sdk.model
Class LoadBalancerService
java.lang.Object
com.exoscale.sdk.model.LoadBalancerService
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class LoadBalancerService
extends Object
Load Balancer Service
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Network traffic protocolstatic enum
Load Balancer Service statestatic enum
Load balancing strategy -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancerService
(LoadBalancerService.StateEnum state, UUID id, List<LoadBalancerServerStatus> healthcheckStatus) -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) boolean
Return true if this load-balancer-service object is equal to o.Load Balancer Service descriptionGet healthcheckHealthcheck status per backend servergetId()
Load Balancer Service IDGet instancePoolgetName()
Load Balancer Service namegetPort()
Port exposed on the Load Balancer's public IP minimum: 0Network traffic protocolgetState()
Load Balancer Service stateLoad balancing strategyPort on which the network traffic will be forwarded to on the receiving instance minimum: 0int
hashCode()
healthcheck
(LoadBalancerServiceHealthcheck healthcheck) instancePool
(InstancePool instancePool) protocol
(LoadBalancerService.ProtocolEnum protocol) void
setDescription
(String description) void
setHealthcheck
(LoadBalancerServiceHealthcheck healthcheck) void
setInstancePool
(InstancePool instancePool) void
void
void
setProtocol
(LoadBalancerService.ProtocolEnum protocol) void
setStrategy
(LoadBalancerService.StrategyEnum strategy) void
setTargetPort
(Long targetPort) strategy
(LoadBalancerService.StrategyEnum strategy) targetPort
(Long targetPort) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PROTOCOL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TARGET_PORT
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_INSTANCE_POOL
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
JSON_PROPERTY_HEALTHCHECK
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_HEALTHCHECK_STATUS
- See Also:
-
-
Constructor Details
-
LoadBalancerService
public LoadBalancerService() -
LoadBalancerService
public LoadBalancerService(LoadBalancerService.StateEnum state, UUID id, List<LoadBalancerServerStatus> healthcheckStatus)
-
-
Method Details
-
description
-
getDescription
Load Balancer Service description- Returns:
- description
-
setDescription
-
protocol
-
getProtocol
Network traffic protocol- Returns:
- protocol
-
setProtocol
-
name
-
getName
Load Balancer Service name- Returns:
- name
-
setName
-
getState
Load Balancer Service state- Returns:
- state
-
targetPort
-
getTargetPort
Port on which the network traffic will be forwarded to on the receiving instance minimum: 0- Returns:
- targetPort
-
setTargetPort
-
port
-
getPort
Port exposed on the Load Balancer's public IP minimum: 0- Returns:
- port
-
setPort
-
instancePool
-
getInstancePool
Get instancePool- Returns:
- instancePool
-
setInstancePool
-
strategy
-
getStrategy
Load balancing strategy- Returns:
- strategy
-
setStrategy
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
getId
Load Balancer Service ID- Returns:
- id
-
getHealthcheckStatus
Healthcheck status per backend server- Returns:
- healthcheckStatus
-
equals
Return true if this load-balancer-service object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-