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 enumNetwork traffic protocolstatic enumLoad Balancer Service statestatic enumLoad balancing strategy -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancerService(LoadBalancerService.StateEnum state, List<LoadBalancerServiceInstance> instances, UUID id, List<LoadBalancerServerStatus> healthcheckStatus) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this load-balancer-service object is equal to o.Load Balancer Service descriptionGet healthcheckHealthcheck status per backend servergetId()Load Balancer Service IDGet instancePoolInstances the network traffic is forwarded to, from the instance pool and the label selectorGet labelSelectorgetName()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: 0inthashCode()healthcheck(LoadBalancerServiceHealthcheck healthcheck) instancePool(InstancePool instancePool) labelSelector(LoadBalancerServiceLabelSelector labelSelector) protocol(LoadBalancerService.ProtocolEnum protocol) voidsetDescription(String description) voidsetHealthcheck(LoadBalancerServiceHealthcheck healthcheck) voidsetInstancePool(InstancePool instancePool) voidsetLabelSelector(LoadBalancerServiceLabelSelector labelSelector) voidvoidvoidsetProtocol(LoadBalancerService.ProtocolEnum protocol) voidsetStrategy(LoadBalancerService.StrategyEnum strategy) voidsetTargetPort(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_INSTANCES
- See Also:
-
JSON_PROPERTY_HEALTHCHECK
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_HEALTHCHECK_STATUS
- See Also:
-
JSON_PROPERTY_LABEL_SELECTOR
- See Also:
-
-
Constructor Details
-
LoadBalancerService
public LoadBalancerService() -
LoadBalancerService
public LoadBalancerService(LoadBalancerService.StateEnum state, List<LoadBalancerServiceInstance> instances, UUID id, List<LoadBalancerServerStatus> healthcheckStatus)
-
-
Method Details
-
description
-
getDescription
-
setDescription
-
protocol
-
getProtocol
Network traffic protocol- Returns:
- protocol
-
setProtocol
-
name
-
getName
-
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
-
setInstancePool
-
strategy
-
getStrategy
Load balancing strategy- Returns:
- strategy
-
setStrategy
-
getInstances
Instances the network traffic is forwarded to, from the instance pool and the label selector- Returns:
- instances
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
getId
-
getHealthcheckStatus
Healthcheck status per backend server- Returns:
- healthcheckStatus
-
labelSelector
-
getLabelSelector
Get labelSelector- Returns:
- labelSelector
-
setLabelSelector
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-