public GetEventSourceMappingResult withFunctionResponseTypes(String... functionResponseTypes) {
        if (this.functionResponseTypes == null) {
            setFunctionResponseTypes(new com.amazonaws.internal.SdkInternalList<String>(functionResponseTypes.length));
        }
        for (String ele : functionResponseTypes) {
            this.functionResponseTypes.add(ele);
        }
        return this;
    }
<p>
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFunctionResponseTypes(java.util.Collection)} or
{@link #withFunctionResponseTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param functionResponseTypes
       (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event
       source mapping.
@return Returns a reference to this object so that method calls can be chained together.
@see FunctionResponseType
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/GetEventSourceMappingResult.java