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 Details

  • Constructor Details

    • SksKubeconfigRequest

      public SksKubeconfigRequest()
  • Method Details

    • 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
    • setGroups

      public void setGroups(List<String> groups)
    • equals

      public boolean equals(Object o)
      Return true if this sks-kubeconfig-request object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string