public Builder ordinals(StatefulSetOrdinalsArgs ordinals) {
            return ordinals(Output.of(ordinals));
        }
@param ordinals 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.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1/inputs/StatefulSetSpecArgs.java