public Optional<Integer> replicas() {
        return Optional.ofNullable(this.replicas);
    }
@return replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta1/outputs/StatefulSetSpec.java