public Builder hostPorts(@Nullable Output<List<HostPortRangeArgs>> hostPorts) {
            $.hostPorts = hostPorts;
            return this;
        }
@param hostPorts hostPorts determines which host port ranges are allowed to be exposed.

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