Class AddServiceToLoadBalancerRequest
java.lang.Object
com.exoscale.sdk.model.AddServiceToLoadBalancerRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class AddServiceToLoadBalancerRequest
extends Object
AddServiceToLoadBalancerRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumNetwork traffic protocolstatic enumLoad balancing strategy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this add_service_to_load_balancer_request object is equal to o.Load Balancer Service descriptionGet healthcheckGet instancePoolGet labelSelectorgetName()Load Balancer Service namegetPort()Port exposed on the Load Balancer's public IP minimum: 1 maximum: 65535Network traffic protocolLoad balancing strategyPort on which the network traffic will be forwarded to on the receiving instance minimum: 1 maximum: 65535inthashCode()healthcheck(LoadBalancerServiceHealthcheck healthcheck) instancePool(InstancePool instancePool) labelSelector(LoadBalancerServiceLabelSelector labelSelector) voidsetDescription(String description) voidsetHealthcheck(LoadBalancerServiceHealthcheck healthcheck) voidsetInstancePool(InstancePool instancePool) voidsetLabelSelector(LoadBalancerServiceLabelSelector labelSelector) voidvoidvoidvoidvoidsetTargetPort(Long targetPort) 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_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_LABEL_SELECTOR
- See Also:
-
-
Constructor Details
-
AddServiceToLoadBalancerRequest
public AddServiceToLoadBalancerRequest()
-
-
Method Details
-
description
-
getDescription
-
setDescription
-
protocol
public AddServiceToLoadBalancerRequest protocol(AddServiceToLoadBalancerRequest.ProtocolEnum protocol) -
getProtocol
Network traffic protocol- Returns:
- protocol
-
setProtocol
-
name
-
getName
-
setName
-
targetPort
-
getTargetPort
Port on which the network traffic will be forwarded to on the receiving instance minimum: 1 maximum: 65535- Returns:
- targetPort
-
setTargetPort
-
port
-
getPort
Port exposed on the Load Balancer's public IP minimum: 1 maximum: 65535- Returns:
- port
-
setPort
-
instancePool
-
getInstancePool
-
setInstancePool
-
strategy
public AddServiceToLoadBalancerRequest strategy(AddServiceToLoadBalancerRequest.StrategyEnum strategy) -
getStrategy
Load balancing strategy- Returns:
- strategy
-
setStrategy
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
labelSelector
public AddServiceToLoadBalancerRequest labelSelector(LoadBalancerServiceLabelSelector labelSelector) -
getLabelSelector
Get labelSelector- Returns:
- labelSelector
-
setLabelSelector
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-