Class ScopeRestriction

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<ScopeRestrictionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ScopeRestriction
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ScopeRestrictionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.
    See Also:
    Serialized Form
    • Constructor Detail

      • ScopeRestriction

        public ScopeRestriction()
        No args constructor for use in serialization
    • Method Detail

      • getClusterRole

        public ClusterRoleScopeRestriction getClusterRole()
        ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.
      • setClusterRole

        public void setClusterRole​(ClusterRoleScopeRestriction clusterRole)
        ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil.
      • getLiterals

        public List<String> getLiterals()
        ExactValues means the scope has to match a particular set of strings exactly
      • setLiterals

        public void setLiterals​(List<String> literals)
        ExactValues means the scope has to match a particular set of strings exactly
      • getAdditionalProperties

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

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

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