public java.util.List<String> getPasswords() {
        if (passwords == null) {
            passwords = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return passwords;
    }
<p>
Specifies the passwords to use for authentication if <code>Type</code> is set to <code>password</code>.
</p>

@return Specifies the passwords to use for authentication if <code>Type</code> is set to <code>password</code>.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/AuthenticationMode.java