Class ClusterRoleScopeRestriction

    • Constructor Detail

      • ClusterRoleScopeRestriction

        public ClusterRoleScopeRestriction()
        No args constructor for use in serialization
      • ClusterRoleScopeRestriction

        public ClusterRoleScopeRestriction​(Boolean allowEscalation,
                                           List<String> namespaces,
                                           List<String> roleNames)
    • Method Detail

      • getAllowEscalation

        public Boolean getAllowEscalation()
        allowEscalation indicates whether you can request roles and their escalating resources
      • setAllowEscalation

        public void setAllowEscalation​(Boolean allowEscalation)
        allowEscalation indicates whether you can request roles and their escalating resources
      • getNamespaces

        public List<String> getNamespaces()
        namespaces is the list of namespaces that can be referenced. * means any of them (including *)
      • setNamespaces

        public void setNamespaces​(List<String> namespaces)
        namespaces is the list of namespaces that can be referenced. * means any of them (including *)
      • getRoleNames

        public List<String> getRoleNames()
        roleNames is the list of cluster roles that can referenced. * means anything
      • setRoleNames

        public void setRoleNames​(List<String> roleNames)
        roleNames is the list of cluster roles that can referenced. * means anything
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)