public AuthenticationSummary withProviders(AuthenticationProviderTypes... providers) {
        java.util.ArrayList<String> providersCopy = new java.util.ArrayList<String>(providers.length);
        for (AuthenticationProviderTypes value : providers) {
            providersCopy.add(value.toString());
        }
        if (getProviders() == null) {
            setProviders(providersCopy);
        } else {
            getProviders().addAll(providersCopy);
        }
        return this;
    }
<p>
Specifies whether the workspace uses SAML, IAM Identity Center, or both methods for user authentication.
</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