public GrpcRetryPolicy withTcpRetryEvents(String... tcpRetryEvents) {
        if (this.tcpRetryEvents == null) {
            setTcpRetryEvents(new java.util.ArrayList<String>(tcpRetryEvents.length));
        }
        for (String ele : tcpRetryEvents) {
            this.tcpRetryEvents.add(ele);
        }
        return this;
    }
<p>
Specify a valid value. The event occurs before any processing of a request has started and is encountered when
the upstream is temporarily or permanently unavailable.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTcpRetryEvents(java.util.Collection)} or {@link #withTcpRetryEvents(java.util.Collection)} if you want
to override the existing values.
</p>

@param tcpRetryEvents
       Specify a valid value. The event occurs before any processing of a request has started and is encountered
       when the upstream is temporarily or permanently unavailable.
@return Returns a reference to this object so that method calls can be chained together.
@see TcpRetryPolicyEvent
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/GrpcRetryPolicy.java