public Output<StatefulSetSpec> spec() {
        return this.spec;
    }
@return Spec defines the desired identities of pods in this set.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta1/StatefulSet.java