Package com.exoscale.sdk.model
Class SksKubeconfigRequest
java.lang.Object
com.exoscale.sdk.model.SksKubeconfigRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class SksKubeconfigRequest
extends Object
Kubeconfig request for a SKS cluster
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupsItem
(String groupsItem) boolean
Return true if this sks-kubeconfig-request object is equal to o.List of roles.getTtl()
Validity in seconds of the Kubeconfig user certificate (default: 30 days) minimum: 0getUser()
User name in the generated Kubeconfig.int
hashCode()
void
void
void
toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TTL
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_GROUPS
- See Also:
-
-
Constructor Details
-
SksKubeconfigRequest
public SksKubeconfigRequest()
-
-
Method Details
-
ttl
-
getTtl
Validity in seconds of the Kubeconfig user certificate (default: 30 days) minimum: 0- Returns:
- ttl
-
setTtl
-
user
-
getUser
User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.- Returns:
- user
-
setUser
-
groups
-
addGroupsItem
-
getGroups
List of roles. The certificate present in the Kubeconfig will have these roles set in the Org field.- Returns:
- groups
-
setGroups
-
equals
Return true if this sks-kubeconfig-request object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-