public GetEventSourceMappingResult withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations) {
        if (this.sourceAccessConfigurations == null) {
            setSourceAccessConfigurations(new com.amazonaws.internal.SdkInternalList<SourceAccessConfiguration>(sourceAccessConfigurations.length));
        }
        for (SourceAccessConfiguration ele : sourceAccessConfigurations) {
            this.sourceAccessConfigurations.add(ele);
        }
        return this;
    }
<p>
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSourceAccessConfigurations(java.util.Collection)} or
{@link #withSourceAccessConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param sourceAccessConfigurations
       An array of the authentication protocol, VPC components, or virtual host to secure and define your event
       source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/GetEventSourceMappingResult.java