public AuthenticationSummary withProviders(String... providers) {
        if (this.providers == null) {
            setProviders(new java.util.ArrayList<String>(providers.length));
        }
        for (String ele : providers) {
            this.providers.add(ele);
        }
        return this;
    }
<p>
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProviders(java.util.Collection)} or {@link #withProviders(java.util.Collection)} if you want to
override the existing values.
</p>

@param providers
       Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
@return Returns a reference to this object so that method calls can be chained together.
@see AuthenticationProviderTypes
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/AuthenticationSummary.java