Package com.exoscale.sdk.model
Class SksCluster
- java.lang.Object
-
- com.exoscale.sdk.model.SksCluster
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SksCluster extends Object
SKS Cluster
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SksCluster.AddonsEnum
Gets or Sets addonsstatic class
SksCluster.CniEnum
Cluster CNIstatic class
SksCluster.LevelEnum
Cluster levelstatic class
SksCluster.StateEnum
Cluster state
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ADDONS
static String
JSON_PROPERTY_AUTO_UPGRADE
static String
JSON_PROPERTY_CNI
static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_ENDPOINT
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_LEVEL
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_NODEPOOLS
static String
JSON_PROPERTY_STATE
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description SksCluster()
SksCluster(SksCluster.StateEnum state, List<SksNodepool> nodepools, UUID id, OffsetDateTime createdAt, String endpoint)
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CNI
public static final String JSON_PROPERTY_CNI
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTO_UPGRADE
public static final String JSON_PROPERTY_AUTO_UPGRADE
- 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_NODEPOOLS
public static final String JSON_PROPERTY_NODEPOOLS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEVEL
public static final String JSON_PROPERTY_LEVEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDONS
public static final String JSON_PROPERTY_ADDONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENDPOINT
public static final String JSON_PROPERTY_ENDPOINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SksCluster
public SksCluster()
-
SksCluster
public SksCluster(SksCluster.StateEnum state, List<SksNodepool> nodepools, UUID id, OffsetDateTime createdAt, String endpoint)
-
-
Method Detail
-
description
public SksCluster description(String description)
-
getDescription
@Nullable public String getDescription()
Cluster description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
labels
public SksCluster labels(Map<String,String> labels)
-
putLabelsItem
public SksCluster putLabelsItem(String key, String labelsItem)
-
cni
public SksCluster cni(SksCluster.CniEnum cni)
-
getCni
@Nullable public SksCluster.CniEnum getCni()
Cluster CNI- Returns:
- cni
-
setCni
public void setCni(SksCluster.CniEnum cni)
-
autoUpgrade
public SksCluster autoUpgrade(Boolean autoUpgrade)
-
getAutoUpgrade
@Nullable public Boolean getAutoUpgrade()
Enable auto upgrade of the control plane to the latest patch version available- Returns:
- autoUpgrade
-
setAutoUpgrade
public void setAutoUpgrade(Boolean autoUpgrade)
-
name
public SksCluster name(String name)
-
getName
@Nullable public String getName()
Cluster name- Returns:
- name
-
setName
public void setName(String name)
-
getState
@Nullable public SksCluster.StateEnum getState()
Cluster state- Returns:
- state
-
getNodepools
@Nullable public List<SksNodepool> getNodepools()
Cluster Nodepools- Returns:
- nodepools
-
level
public SksCluster level(SksCluster.LevelEnum level)
-
getLevel
@Nullable public SksCluster.LevelEnum getLevel()
Cluster level- Returns:
- level
-
setLevel
public void setLevel(SksCluster.LevelEnum level)
-
addons
public SksCluster addons(Set<SksCluster.AddonsEnum> addons)
-
addAddonsItem
public SksCluster addAddonsItem(SksCluster.AddonsEnum addonsItem)
-
getAddons
@Nullable public Set<SksCluster.AddonsEnum> getAddons()
Cluster addons- Returns:
- addons
-
setAddons
public void setAddons(Set<SksCluster.AddonsEnum> addons)
-
getId
@Nullable public UUID getId()
Cluster ID- Returns:
- id
-
version
public SksCluster version(String version)
-
getVersion
@Nullable public String getVersion()
Control plane Kubernetes version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Cluster creation date- Returns:
- createdAt
-
getEndpoint
@Nullable public String getEndpoint()
Cluster endpoint- Returns:
- endpoint
-
equals
public boolean equals(Object o)
Return true if this sks-cluster object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-