public GrpcRetryPolicy withGrpcRetryEvents(GrpcRetryPolicyEvent... grpcRetryEvents) {
        java.util.ArrayList<String> grpcRetryEventsCopy = new java.util.ArrayList<String>(grpcRetryEvents.length);
        for (GrpcRetryPolicyEvent value : grpcRetryEvents) {
            grpcRetryEventsCopy.add(value.toString());
        }
        if (getGrpcRetryEvents() == null) {
            setGrpcRetryEvents(grpcRetryEventsCopy);
        } else {
            getGrpcRetryEvents().addAll(grpcRetryEventsCopy);
        }
        return this;
    }
<p>
Specify at least one of the valid 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