Class ResourceAttributesAccessReview
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.ResourceAttributesAccessReview
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ResourceAttributesAccessReviewBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourceAttributesAccessReview extends Object implements io.fabric8.kubernetes.api.builder.Editable<ResourceAttributesAccessReviewBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ResourceAttributesAccessReview defines the visibility of the perspective depending on the access review checks. `required` and `missing` can work together esp. in the case where the cluster admin wants to show another perspective to users without specific permissions. Out of `required` and `missing` atleast one property should be non-empty.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceAttributesAccessReview()No args constructor for use in serializationResourceAttributesAccessReview(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> missing, List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> required)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAttributesAccessReviewBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes>getMissing()missing defines a list of permission checks.List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes>getRequired()required defines a list of permission checks.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMissing(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> missing)missing defines a list of permission checks.voidsetRequired(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> required)required defines a list of permission checks.ResourceAttributesAccessReviewBuildertoBuilder()
-
-
-
Method Detail
-
getMissing
public List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> getMissing()
missing defines a list of permission checks. The perspective will only be shown when at least one check fails. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the required access review list.
-
setMissing
public void setMissing(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> missing)
missing defines a list of permission checks. The perspective will only be shown when at least one check fails. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the required access review list.
-
getRequired
public List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> getRequired()
required defines a list of permission checks. The perspective will only be shown when all checks are successful. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the missing access review list.
-
setRequired
public void setRequired(List<io.fabric8.kubernetes.api.model.authorization.v1.ResourceAttributes> required)
required defines a list of permission checks. The perspective will only be shown when all checks are successful. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the missing access review list.
-
edit
public ResourceAttributesAccessReviewBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceAttributesAccessReviewBuilder>
-
toBuilder
public ResourceAttributesAccessReviewBuilder toBuilder()
-
-