Class SagemakerWorkforceCognitoConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.sagemaker_workforce.SagemakerWorkforceCognitoConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SagemakerWorkforceCognitoConfig>
- Enclosing interface:
- SagemakerWorkforceCognitoConfig
@Stability(Stable) public static final class SagemakerWorkforceCognitoConfig.Builder extends Object implements software.amazon.jsii.Builder<SagemakerWorkforceCognitoConfig>
A builder forSagemakerWorkforceCognitoConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SagemakerWorkforceCognitoConfigbuild()Builds the configured instance.SagemakerWorkforceCognitoConfig.BuilderclientId(String clientId)Sets the value ofSagemakerWorkforceCognitoConfig.getClientId()SagemakerWorkforceCognitoConfig.BuilderuserPool(String userPool)Sets the value ofSagemakerWorkforceCognitoConfig.getUserPool()
-
-
-
Method Detail
-
clientId
@Stability(Stable) public SagemakerWorkforceCognitoConfig.Builder clientId(String clientId)
Sets the value ofSagemakerWorkforceCognitoConfig.getClientId()- Parameters:
clientId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#client_id SagemakerWorkforce#client_id}. This parameter is required.- Returns:
this
-
userPool
@Stability(Stable) public SagemakerWorkforceCognitoConfig.Builder userPool(String userPool)
Sets the value ofSagemakerWorkforceCognitoConfig.getUserPool()- Parameters:
userPool- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#user_pool SagemakerWorkforce#user_pool}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SagemakerWorkforceCognitoConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SagemakerWorkforceCognitoConfig>- Returns:
- a new instance of
SagemakerWorkforceCognitoConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-