public ListApplicationAuthenticationMethodsResult withAuthenticationMethods(AuthenticationMethodItem... authenticationMethods) {
        if (this.authenticationMethods == null) {
            setAuthenticationMethods(new java.util.ArrayList<AuthenticationMethodItem>(authenticationMethods.length));
        }
        for (AuthenticationMethodItem ele : authenticationMethods) {
            this.authenticationMethods.add(ele);
        }
        return this;
    }
<p>
An array list of authentication methods for the specified application.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAuthenticationMethods(java.util.Collection)} or
{@link #withAuthenticationMethods(java.util.Collection)} if you want to override the existing values.
</p>

@param authenticationMethods
       An array list of authentication methods for the specified application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssoadmin/src/main/java/com/amazonaws/services/ssoadmin/model/ListApplicationAuthenticationMethodsResult.java