public Builder ports(@Nullable Output<List<EndpointPortPatchArgs>> ports) {
            $.ports = ports;
            return this;
        }
@param ports Port numbers available on the related IP addresses.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/EndpointSubsetPatchArgs.java