public List<PodSchedulingGatePatch> schedulingGates() {
        return this.schedulingGates == null ? List.of() : this.schedulingGates;
    }
@return SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.

SchedulingGates can only be set at pod creation time, and be removed only afterwards.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/PodSpecPatch.java