public Optional<Integer> successThreshold() {
        return Optional.ofNullable(this.successThreshold);
    }
@return Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Probe.java