public RdsLoginAttemptAction withLoginAttributes(LoginAttribute... loginAttributes) {
        if (this.loginAttributes == null) {
            setLoginAttributes(new java.util.ArrayList<LoginAttribute>(loginAttributes.length));
        }
        for (LoginAttribute ele : loginAttributes) {
            this.loginAttributes.add(ele);
        }
        return this;
    }
<p>
Indicates the login attributes used in the login attempt.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLoginAttributes(java.util.Collection)} or {@link #withLoginAttributes(java.util.Collection)} if you
want to override the existing values.
</p>

@param loginAttributes
       Indicates the login attributes used in the login attempt.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/RdsLoginAttemptAction.java