Class CfnWorkteam.CognitoMemberDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnWorkteam.CognitoMemberDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkteam.CognitoMemberDefinitionProperty>
- Enclosing interface:
CfnWorkteam.CognitoMemberDefinitionProperty
@Stability(Stable)
public static final class CfnWorkteam.CognitoMemberDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkteam.CognitoMemberDefinitionProperty>
A builder for
CfnWorkteam.CognitoMemberDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cognitoClientId(String cognitoClientId) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoClientId()cognitoUserGroup(String cognitoUserGroup) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoUserGroup()cognitoUserPool(String cognitoUserPool) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoUserPool()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cognitoClientId
@Stability(Stable) public CfnWorkteam.CognitoMemberDefinitionProperty.Builder cognitoClientId(String cognitoClientId) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoClientId()- Parameters:
cognitoClientId- An identifier for an application client. This parameter is required. You must create the app client ID using Amazon Cognito .- Returns:
this
-
cognitoUserGroup
@Stability(Stable) public CfnWorkteam.CognitoMemberDefinitionProperty.Builder cognitoUserGroup(String cognitoUserGroup) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoUserGroup()- Parameters:
cognitoUserGroup- An identifier for a user group. This parameter is required.- Returns:
this
-
cognitoUserPool
@Stability(Stable) public CfnWorkteam.CognitoMemberDefinitionProperty.Builder cognitoUserPool(String cognitoUserPool) Sets the value ofCfnWorkteam.CognitoMemberDefinitionProperty.getCognitoUserPool()- Parameters:
cognitoUserPool- An identifier for a user pool. This parameter is required. The user pool must be in the same region as the service that you are calling.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkteam.CognitoMemberDefinitionProperty>- Returns:
- a new instance of
CfnWorkteam.CognitoMemberDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-