Class CfnWorkforce.CognitoConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnWorkforce.CognitoConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkforce.CognitoConfigProperty>
- Enclosing interface:
CfnWorkforce.CognitoConfigProperty
@Stability(Stable)
public static final class CfnWorkforce.CognitoConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkforce.CognitoConfigProperty>
A builder for
CfnWorkforce.CognitoConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkforce.CognitoConfigProperty.getClientId()Sets the value ofCfnWorkforce.CognitoConfigProperty.getUserPool()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
Sets the value ofCfnWorkforce.CognitoConfigProperty.getClientId()- Parameters:
clientId- The client ID for your Amazon Cognito user pool. This parameter is required.- Returns:
this
-
userPool
Sets the value ofCfnWorkforce.CognitoConfigProperty.getUserPool()- Parameters:
userPool- The ID for your Amazon Cognito user pool. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkforce.CognitoConfigProperty>- Returns:
- a new instance of
CfnWorkforce.CognitoConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-