public Optional<Output<List<AllowedFlexVolumeArgs>>> allowedFlexVolumes() {
        return Optional.ofNullable(this.allowedFlexVolumes);
    }
@return allowedFlexVolumes is a whitelist of allowed Flexvolumes.  Empty or nil indicates that all Flexvolumes may be used.  This parameter is effective only when the usage of the Flexvolumes is allowed in the &#34;volumes&#34; field.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/inputs/PodSecurityPolicySpecArgs.java