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 Modifier and Type Class Description static class
LoadBalancer.StateEnum
Load Balancer state
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_IP
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_SERVICES
static String
JSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description LoadBalancer()
LoadBalancer(UUID id, LoadBalancer.StateEnum state, OffsetDateTime createdAt, String ip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancer
addServicesItem(LoadBalancerService servicesItem)
LoadBalancer
description(String description)
boolean
equals(Object o)
Return true if this load-balancer object is equal to o.OffsetDateTime
getCreatedAt()
Load Balancer creation dateString
getDescription()
Load Balancer descriptionUUID
getId()
Load Balancer IDString
getIp()
Load Balancer public IPMap<String,String>
getLabels()
Get labelsString
getName()
Load Balancer nameList<LoadBalancerService>
getServices()
Load Balancer ServicesLoadBalancer.StateEnum
getState()
Load Balancer stateint
hashCode()
LoadBalancer
labels(Map<String,String> labels)
LoadBalancer
name(String name)
LoadBalancer
putLabelsItem(String key, String labelsItem)
LoadBalancer
services(List<LoadBalancerService> services)
void
setDescription(String description)
void
setLabels(Map<String,String> labels)
void
setName(String name)
void
setServices(List<LoadBalancerService> services)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP
public static final String JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVICES
public static final String JSON_PROPERTY_SERVICES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoadBalancer
public LoadBalancer()
-
LoadBalancer
public LoadBalancer(UUID id, LoadBalancer.StateEnum state, OffsetDateTime createdAt, String ip)
-
-
Method Detail
-
getId
@Nullable public UUID getId()
Load Balancer ID- Returns:
- id
-
description
public LoadBalancer description(String description)
-
getDescription
@Nullable public String getDescription()
Load Balancer description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
name
public LoadBalancer name(String name)
-
getName
@Nullable public String getName()
Load Balancer name- Returns:
- name
-
setName
public void setName(String name)
-
getState
@Nullable public LoadBalancer.StateEnum getState()
Load Balancer state- Returns:
- state
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Load Balancer creation date- Returns:
- createdAt
-
getIp
@Nullable public String getIp()
Load Balancer public IP- Returns:
- ip
-
services
public LoadBalancer services(List<LoadBalancerService> services)
-
addServicesItem
public LoadBalancer addServicesItem(LoadBalancerService servicesItem)
-
getServices
@Nullable public List<LoadBalancerService> getServices()
Load Balancer Services- Returns:
- services
-
setServices
public void setServices(List<LoadBalancerService> services)
-
labels
public LoadBalancer labels(Map<String,String> labels)
-
putLabelsItem
public LoadBalancer putLabelsItem(String key, String labelsItem)
-
equals
public boolean equals(Object o)
Return true if this load-balancer object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-