Package com.exoscale.sdk.model
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 instancePoolgetName()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) voidsetDescription(String description) voidsetHealthcheck(LoadBalancerServiceHealthcheck healthcheck) voidsetInstancePool(InstancePool instancePool) 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_NAME
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_INSTANCE_POOL
- See Also:
-
JSON_PROPERTY_PROTOCOL
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_TARGET_PORT
- See Also:
-
JSON_PROPERTY_HEALTHCHECK
- See Also:
-
-
Constructor Details
-
AddServiceToLoadBalancerRequest
public AddServiceToLoadBalancerRequest()
-
-
Method Details
-
name
-
getName
Load Balancer Service name- Returns:
- name
-
setName
-
description
-
getDescription
Load Balancer Service description- Returns:
- description
-
setDescription
-
instancePool
-
getInstancePool
Get instancePool- Returns:
- instancePool
-
setInstancePool
-
protocol
public AddServiceToLoadBalancerRequest protocol(AddServiceToLoadBalancerRequest.ProtocolEnum protocol) -
getProtocol
Network traffic protocol- Returns:
- protocol
-
setProtocol
-
strategy
public AddServiceToLoadBalancerRequest strategy(AddServiceToLoadBalancerRequest.StrategyEnum strategy) -
getStrategy
Load balancing strategy- Returns:
- strategy
-
setStrategy
-
port
-
getPort
Port exposed on the Load Balancer's public IP minimum: 1 maximum: 65535- Returns:
- port
-
setPort
-
targetPort
-
getTargetPort
Port on which the network traffic will be forwarded to on the receiving instance minimum: 1 maximum: 65535- Returns:
- targetPort
-
setTargetPort
-
healthcheck
-
getHealthcheck
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
-
equals
Return true if this add_service_to_load_balancer_request 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
-