Package com.exoscale.sdk.model
Class ElasticIp
- java.lang.Object
-
- com.exoscale.sdk.model.ElasticIp
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class ElasticIp extends Object
Elastic IP
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ElasticIp.AddressfamilyEnum
Elastic IP address family
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADDRESSFAMILY
static String
JSON_PROPERTY_CIDR
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_HEALTHCHECK
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_IP
static String
JSON_PROPERTY_LABELS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticIp
description(String description)
boolean
equals(Object o)
Return true if this elastic-ip object is equal to o.ElasticIp.AddressfamilyEnum
getAddressfamily()
Elastic IP address familyString
getCidr()
Elastic IP cidrString
getDescription()
Elastic IP descriptionElasticIpHealthcheck
getHealthcheck()
Get healthcheckUUID
getId()
Elastic IP IDString
getIp()
Elastic IP addressMap<String,String>
getLabels()
Get labelsint
hashCode()
ElasticIp
healthcheck(ElasticIpHealthcheck healthcheck)
ElasticIp
labels(Map<String,String> labels)
ElasticIp
putLabelsItem(String key, String labelsItem)
void
setDescription(String description)
void
setHealthcheck(ElasticIpHealthcheck healthcheck)
void
setLabels(Map<String,String> labels)
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_IP
public static final String JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDRESSFAMILY
public static final String JSON_PROPERTY_ADDRESSFAMILY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CIDR
public static final String JSON_PROPERTY_CIDR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HEALTHCHECK
public static final String JSON_PROPERTY_HEALTHCHECK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElasticIp
public ElasticIp()
-
ElasticIp
public ElasticIp(UUID id, String ip, ElasticIp.AddressfamilyEnum addressfamily, String cidr)
-
-
Method Detail
-
getId
@Nullable public UUID getId()
Elastic IP ID- Returns:
- id
-
getIp
@Nullable public String getIp()
Elastic IP address- Returns:
- ip
-
getAddressfamily
@Nullable public ElasticIp.AddressfamilyEnum getAddressfamily()
Elastic IP address family- Returns:
- addressfamily
-
getCidr
@Nullable public String getCidr()
Elastic IP cidr- Returns:
- cidr
-
getDescription
@Nullable public String getDescription()
Elastic IP description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
healthcheck
public ElasticIp healthcheck(ElasticIpHealthcheck healthcheck)
-
getHealthcheck
@Nullable public ElasticIpHealthcheck getHealthcheck()
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
public void setHealthcheck(ElasticIpHealthcheck healthcheck)
-
equals
public boolean equals(Object o)
Return true if this elastic-ip object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-