public SharePointConfiguration withAuthenticationType(String authenticationType) {
        setAuthenticationType(authenticationType);
        return this;
    }
<p>
Whether you want to connect to SharePoint Online using basic authentication of user name and password, or OAuth
authentication of user name, password, client ID, and client secret, or AD App-only authentication of client
secret.
</p>

@param authenticationType
       Whether you want to connect to SharePoint Online using basic authentication of user name and password, or
       OAuth authentication of user name, password, client ID, and client secret, or AD App-only authentication
       of client secret.
@return Returns a reference to this object so that method calls can be chained together.
@see SharePointOnlineAuthenticationType
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/SharePointConfiguration.java