Package com.exoscale.sdk.model
Class AntiAffinityGroup
- java.lang.Object
-
- com.exoscale.sdk.model.AntiAffinityGroup
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class AntiAffinityGroup extends Object
Anti-affinity Group
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_INSTANCES
static String
JSON_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description AntiAffinityGroup()
AntiAffinityGroup(UUID id, List<Instance> instances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntiAffinityGroup
description(String description)
boolean
equals(Object o)
Return true if this anti-affinity-group object is equal to o.String
getDescription()
Anti-affinity Group descriptionUUID
getId()
Anti-affinity Group IDList<Instance>
getInstances()
Anti-affinity Group instancesString
getName()
Anti-affinity Group nameint
hashCode()
AntiAffinityGroup
name(String name)
void
setDescription(String description)
void
setName(String name)
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_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_INSTANCES
public static final String JSON_PROPERTY_INSTANCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
@Nullable public UUID getId()
Anti-affinity Group ID- Returns:
- id
-
name
public AntiAffinityGroup name(String name)
-
getName
@Nullable public String getName()
Anti-affinity Group name- Returns:
- name
-
setName
public void setName(String name)
-
description
public AntiAffinityGroup description(String description)
-
getDescription
@Nullable public String getDescription()
Anti-affinity Group description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
getInstances
@Nullable public List<Instance> getInstances()
Anti-affinity Group instances- Returns:
- instances
-
equals
public boolean equals(Object o)
Return true if this anti-affinity-group object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-