public Builder port(Integer port) {
            return port(Output.of(port));
        }
@param port port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service&#39;s target port. EndpointSlices used for other purposes may have a nil port.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/inputs/EndpointPortArgs.java