Package com.exoscale.sdk.model
Class LoadBalancer
java.lang.Object
com.exoscale.sdk.model.LoadBalancer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class LoadBalancer
extends Object
Load Balancer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoadBalancer
(UUID id, LoadBalancer.StateEnum state, OffsetDateTime createdAt, String ip) -
Method Summary
Modifier and TypeMethodDescriptionaddServicesItem
(LoadBalancerService servicesItem) description
(String description) boolean
Return true if this load-balancer object is equal to o.Load Balancer creation dateLoad Balancer descriptiongetId()
Load Balancer IDgetIp()
Load Balancer public IPGet labelsgetName()
Load Balancer nameLoad Balancer ServicesgetState()
Load Balancer stateint
hashCode()
putLabelsItem
(String key, String labelsItem) services
(List<LoadBalancerService> services) void
setDescription
(String description) void
void
void
setServices
(List<LoadBalancerService> services) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
JSON_PROPERTY_SERVICES
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
-
Constructor Details
-
LoadBalancer
public LoadBalancer() -
LoadBalancer
-
-
Method Details
-
getId
Load Balancer ID- Returns:
- id
-
description
-
getDescription
Load Balancer description- Returns:
- description
-
setDescription
-
name
-
getName
Load Balancer name- Returns:
- name
-
setName
-
getState
Load Balancer state- Returns:
- state
-
getCreatedAt
Load Balancer creation date- Returns:
- createdAt
-
getIp
Load Balancer public IP- Returns:
- ip
-
services
-
addServicesItem
-
getServices
Load Balancer Services- Returns:
- services
-
setServices
-
labels
-
putLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
equals
Return true if this load-balancer 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
-