Package com.exoscale.sdk.model
Class CreateElasticIpRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateElasticIpRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateElasticIpRequest extends Object
CreateElasticIpRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateElasticIpRequest.AddressfamilyEnum
Elastic IP address family (default: :inet4)
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADDRESSFAMILY
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_HEALTHCHECK
static String
JSON_PROPERTY_LABELS
-
Constructor Summary
Constructors Constructor Description CreateElasticIpRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESSFAMILY
public static final String JSON_PROPERTY_ADDRESSFAMILY
- 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
-
-
Method Detail
-
addressfamily
public CreateElasticIpRequest addressfamily(CreateElasticIpRequest.AddressfamilyEnum addressfamily)
-
getAddressfamily
@Nullable public CreateElasticIpRequest.AddressfamilyEnum getAddressfamily()
Elastic IP address family (default: :inet4)- Returns:
- addressfamily
-
setAddressfamily
public void setAddressfamily(CreateElasticIpRequest.AddressfamilyEnum addressfamily)
-
description
public CreateElasticIpRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Elastic IP description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
healthcheck
public CreateElasticIpRequest healthcheck(ElasticIpHealthcheck healthcheck)
-
getHealthcheck
@Nullable public ElasticIpHealthcheck getHealthcheck()
Get healthcheck- Returns:
- healthcheck
-
setHealthcheck
public void setHealthcheck(ElasticIpHealthcheck healthcheck)
-
labels
public CreateElasticIpRequest labels(Map<String,String> labels)
-
putLabelsItem
public CreateElasticIpRequest putLabelsItem(String key, String labelsItem)
-
equals
public boolean equals(Object o)
Return true if this create_elastic_ip_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-