Class SubjectAccessReviewStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.authorization.v1beta1.SubjectAccessReviewStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SubjectAccessReviewStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SubjectAccessReviewStatus- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubjectAccessReviewStatus()No args constructor for use in serializationSubjectAccessReviewStatus(Boolean allowed, Boolean denied, String evaluationError, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectAccessReviewStatusBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetAllowed()Allowed is required.BooleangetDenied()Denied is optional.StringgetEvaluationError()EvaluationError is an indication that some error occurred during the authorization check.StringgetReason()Reason is optional.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAllowed(Boolean allowed)Allowed is required.voidsetDenied(Boolean denied)Denied is optional.voidsetEvaluationError(String evaluationError)EvaluationError is an indication that some error occurred during the authorization check.voidsetReason(String reason)Reason is optional.SubjectAccessReviewStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAllowed
public Boolean getAllowed()
Allowed is required. True if the action would be allowed, false otherwise.
-
setAllowed
public void setAllowed(Boolean allowed)
Allowed is required. True if the action would be allowed, false otherwise.
-
getDenied
public Boolean getDenied()
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
-
setDenied
public void setDenied(Boolean denied)
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
-
getEvaluationError
public String getEvaluationError()
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
-
setEvaluationError
public void setEvaluationError(String evaluationError)
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
-
getReason
public String getReason()
Reason is optional. It indicates why a request was allowed or denied.
-
setReason
public void setReason(String reason)
Reason is optional. It indicates why a request was allowed or denied.
-
edit
public SubjectAccessReviewStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SubjectAccessReviewStatusBuilder>
-
toBuilder
public SubjectAccessReviewStatusBuilder toBuilder()
-
-