public Builder spec(@Nullable Output<StatefulSetSpecPatchArgs> spec) {
            $.spec = spec;
            return this;
        }
@param spec Spec defines the desired identities of pods in this set.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta2/StatefulSetPatchArgs.java