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 Modifier and Type Field Description static String
JSON_PROPERTY_GROUPS
static String
JSON_PROPERTY_TTL
static String
JSON_PROPERTY_USER
-
Constructor Summary
Constructors Constructor Description SksKubeconfigRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SksKubeconfigRequest
addGroupsItem(String groupsItem)
boolean
equals(Object o)
Return true if this sks-kubeconfig-request object is equal to o.List<String>
getGroups()
List of roles.Long
getTtl()
Validity in seconds of the Kubeconfig user certificate (default: 30 days) minimum: 0String
getUser()
User name in the generated Kubeconfig.SksKubeconfigRequest
groups(List<String> groups)
int
hashCode()
void
setGroups(List<String> groups)
void
setTtl(Long ttl)
void
setUser(String user)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.SksKubeconfigRequest
ttl(Long ttl)
SksKubeconfigRequest
user(String user)
-
-
-
Field Detail
-
JSON_PROPERTY_TTL
public static final String JSON_PROPERTY_TTL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER
public static final String JSON_PROPERTY_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUPS
public static final String JSON_PROPERTY_GROUPS
- See Also:
- Constant Field Values
-
-
Method Detail
-
ttl
public SksKubeconfigRequest ttl(Long ttl)
-
getTtl
@Nullable public Long getTtl()
Validity in seconds of the Kubeconfig user certificate (default: 30 days) minimum: 0- Returns:
- ttl
-
setTtl
public void setTtl(Long ttl)
-
user
public SksKubeconfigRequest user(String user)
-
getUser
@Nullable public String 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
public void setUser(String user)
-
groups
public SksKubeconfigRequest groups(List<String> groups)
-
addGroupsItem
public SksKubeconfigRequest addGroupsItem(String groupsItem)
-
getGroups
@Nullable public List<String> getGroups()
List of roles. The certificate present in the Kubeconfig will have these roles set in the Org field.- Returns:
- groups
-
equals
public boolean equals(Object o)
Return true if this sks-kubeconfig-request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-