public Optional<Output<List<HostPortRangeArgs>>> hostPorts() {
        return Optional.ofNullable(this.hostPorts);
    }
@return hostPorts determines which host port ranges are allowed to be exposed.
sdk/java/src/main/java/com/pulumi/kubernetes/policy/v1beta1/inputs/PodSecurityPolicySpecArgs.java