public ContainerPortArgs build() {
            if ($.containerPort == null) {
                throw new MissingRequiredPropertyException("ContainerPortArgs", "containerPort");
            }
            return $;
        }
@param protocol Protocol for port. Must be UDP, TCP, or SCTP. Defaults to &#34;TCP&#34;.

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