Class 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
    • Constructor Detail

      • SksKubeconfigRequest

        public SksKubeconfigRequest()
    • Method Detail

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