public Builder setExposedPorts(Set<Port> exposedPorts) {
      this.exposedPorts = new HashSet<>(exposedPorts);
      return this;
    }
Sets the ports to expose from the container. Ports exposed will allow ingress traffic. This
replaces any previously-set exposed ports. Note that these values are added to the base image
values.

<p>Use {@link Port#tcp} to expose a port for TCP traffic and {@link Port#udp} to expose a
port for UDP traffic.

<p>This is similar to <a
href="https://docs.docker.com/engine/reference/builder/#expose">{@code EXPOSE} in
Dockerfiles</a> or {@code ports} in the <a
href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#container-v1-core">Kubernetes
Container spec</a>.

@param exposedPorts the ports to expose
@return this
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/ContainerBuildPlan.java