public Optional<Boolean> bool() {
        return Optional.ofNullable(this.bool);
    }
@return BoolValue is a true/false value.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1alpha3/outputs/DeviceAttribute.java