public Optional<Output<StatefulSetOrdinalsPatchArgs>> ordinals() {
        return Optional.ofNullable(this.ordinals);
    }
@return ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a &#34;0&#34; index to the first replica and increments the index by one for each additional replica requested.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/inputs/StatefulSetSpecPatchArgs.java