public ListenerTimeout withTcp(TcpTimeout tcp) {
        setTcp(tcp);
        return this;
    }
<p>
An object that represents types of timeouts.
</p>

@param tcp
       An object that represents types of timeouts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/ListenerTimeout.java