public Optional<Integer> revisionHistoryLimit() {
        return Optional.ofNullable(this.revisionHistoryLimit);
    }
@return The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means &#34;retaining all old RelicaSets&#34;.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/outputs/DeploymentSpec.java