@CustomType.Setter
        public Builder spec(@Nullable StatefulSetSpec spec) {

            this.spec = spec;
            return this;
        }
@return Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta2/outputs/StatefulSet.java