public TCPSocketActionArgs build() {
            if ($.port == null) {
                throw new MissingRequiredPropertyException("TCPSocketActionArgs", "port");
            }
            return $;
        }
@param port Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

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