public Builder spec(StatefulSetSpecArgs spec) {
            return spec(Output.of(spec));
        }
@param spec Spec defines the desired identities of pods in this set.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta1/inputs/StatefulSetArgs.java