public PodDisruptionBudgetStatusArgs build() {
            if ($.currentHealthy == null) {
                throw new MissingRequiredPropertyException("PodDisruptionBudgetStatusArgs", "currentHealthy");
            }
            if ($.desiredHealthy == null) {
                throw new MissingRequiredPropertyException("PodDisruptionBudgetStatusArgs", "desiredHealthy");
            }
            if ($.disruptionsAllowed == null) {
                throw new MissingRequiredPropertyException("PodDisruptionBudgetStatusArgs", "disruptionsAllowed");
            }
            if ($.expectedPods == null) {
                throw new MissingRequiredPropertyException("PodDisruptionBudgetStatusArgs", "expectedPods");
            }
            return $;
        }
@param observedGeneration Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB&#39;s object generation.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/inputs/PodDisruptionBudgetStatusArgs.java