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