public Builder allowedCapabilities(@Nullable Output<List<String>> allowedCapabilities) {
            $.allowedCapabilities = allowedCapabilities;
            return this;
        }
@param allowedCapabilities allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author&#39;s discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/inputs/PodSecurityPolicySpecArgs.java