public DescribeRetentionConfigurationsRequest withRetentionConfigurationNames(String... retentionConfigurationNames) {
        if (this.retentionConfigurationNames == null) {
            setRetentionConfigurationNames(new com.amazonaws.internal.SdkInternalList<String>(retentionConfigurationNames.length));
        }
        for (String ele : retentionConfigurationNames) {
            this.retentionConfigurationNames.add(ele);
        }
        return this;
    }
<p>
A list of names of retention configurations for which you want details. If you do not specify a name, Config
returns details for all the retention configurations for that account.
</p>
<note>
<p>
Currently, Config supports only one retention configuration per region in your account.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRetentionConfigurationNames(java.util.Collection)} or
{@link #withRetentionConfigurationNames(java.util.Collection)} if you want to override the existing values.
</p>

@param retentionConfigurationNames
       A list of names of retention configurations for which you want details. If you do not specify a name,
       Config returns details for all the retention configurations for that account.</p> <note>
       <p>
       Currently, Config supports only one retention configuration per region in your account.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/DescribeRetentionConfigurationsRequest.java