public Optional<ConfigMapVolumeSource> configMap() {
        return Optional.ofNullable(this.configMap);
    }
@return configMap represents a configMap that should populate this volume
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Volume.java