Package com.exoscale.sdk.model
Class UpdateLoadBalancerServiceRequest
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateLoadBalancerServiceRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateLoadBalancerServiceRequest extends Object
UpdateLoadBalancerServiceRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateLoadBalancerServiceRequest.ProtocolEnum
Network traffic protocolstatic class
UpdateLoadBalancerServiceRequest.StrategyEnum
Load balancing strategy
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_HEALTHCHECK
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_PROTOCOL
static String
JSON_PROPERTY_STRATEGY
static String
JSON_PROPERTY_TARGET_PORT
-
Constructor Summary
Constructors Constructor Description UpdateLoadBalancerServiceRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROTOCOL
public static final String JSON_PROPERTY_PROTOCOL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STRATEGY
public static final String JSON_PROPERTY_STRATEGY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_PORT
public static final String JSON_PROPERTY_TARGET_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEALTHCHECK
public static final String JSON_PROPERTY_HEALTHCHECK
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public UpdateLoadBalancerServiceRequest name(String name)
-
getName
@Nullable public String getName()
Load Balancer Service name- Returns:
- name
-
setName
public void setName(String name)
-
description
public UpdateLoadBalancerServiceRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Load Balancer Service description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
protocol
public UpdateLoadBalancerServiceRequest protocol(UpdateLoadBalancerServiceRequest.ProtocolEnum protocol)
-
getProtocol
@Nullable public UpdateLoadBalancerServiceRequest.ProtocolEnum getProtocol()
Network traffic protocol- Returns:
- protocol
-
setProtocol
public void setProtocol(UpdateLoadBalancerServiceRequest.ProtocolEnum protocol)
-
strategy
public UpdateLoadBalancerServiceRequest strategy(UpdateLoadBalancerServiceRequest.StrategyEnum strategy)
-
getStrategy
@Nullable public UpdateLoadBalancerServiceRequest.StrategyEnum getStrategy()
Load balancing strategy- Returns:
- strategy
-
setStrategy
public void setStrategy(UpdateLoadBalancerServiceRequest.StrategyEnum strategy)
-
port
public UpdateLoadBalancerServiceRequest port(Long port)
-
getPort
@Nullable public Long getPort()
Port exposed on the Load Balancer's public IP minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Long port)
-
targetPort
public UpdateLoadBalancerServiceRequest targetPort(Long targetPort)
-
getTargetPort
@Nullable public Long getTargetPort()
Port on which the network traffic will be forwarded to on the receiving instance minimum: 1 maximum: 65535- Returns:
- targetPort
-
setTargetPort
public void setTargetPort(Long targetPort)
-
healthcheck
public UpdateLoadBalancerServiceRequest healthcheck(LoadBalancerServiceHealthcheck healthcheck)
-
getHealthcheck
@Nullable public LoadBalancerServiceHealthcheck getHealthcheck()
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
public void setHealthcheck(LoadBalancerServiceHealthcheck healthcheck)
-
equals
public boolean equals(Object o)
Return true if this update_load_balancer_service_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-