public GrpcRetryPolicy withGrpcRetryEvents(String... grpcRetryEvents) {
        if (this.grpcRetryEvents == null) {
            setGrpcRetryEvents(new java.util.ArrayList<String>(grpcRetryEvents.length));
        }
        for (String ele : grpcRetryEvents) {
            this.grpcRetryEvents.add(ele);
        }
        return this;
    }
<p>
Specify at least one of the valid values.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setGrpcRetryEvents(java.util.Collection)} or {@link #withGrpcRetryEvents(java.util.Collection)} if you
want to override the existing values.
</p>

@param grpcRetryEvents
       Specify at least one of the valid values.
@return Returns a reference to this object so that method calls can be chained together.
@see GrpcRetryPolicyEvent
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/GrpcRetryPolicy.java