public void setCognitoConfig(CognitoConfig cognitoConfig) {
        this.cognitoConfig = cognitoConfig;
    }
<p>
The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to
a single <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">
Amazon Cognito user pool</a>.
</p>

@param cognitoConfig
       The configuration of an Amazon Cognito workforce. A single Cognito workforce is created using and
       corresponds to a single <a
       href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html"> Amazon
       Cognito user pool</a>.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/Workforce.java