public void setCredentials(DataSourceCredentials credentials) {
        this.credentials = credentials;
    }
<p>
The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials
based on user name and password are supported.
</p>

@param credentials
       The credentials Amazon QuickSight that uses to connect to your underlying source. Currently, only
       credentials based on user name and password are supported.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/CreateDataSourceRequest.java