public Optional<Output<List<TopologySpreadConstraintPatchArgs>>> topologySpreadConstraints() {
        return Optional.ofNullable(this.topologySpreadConstraints);
    }
@return TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/PodSpecPatchArgs.java