Class SagemakerWorkforceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.sagemaker_workforce.SagemakerWorkforceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SagemakerWorkforceConfig>
- Enclosing interface:
- SagemakerWorkforceConfig
@Stability(Stable) public static final class SagemakerWorkforceConfig.Builder extends Object implements software.amazon.jsii.Builder<SagemakerWorkforceConfig>
A builder forSagemakerWorkforceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SagemakerWorkforceConfigbuild()Builds the configured instance.SagemakerWorkforceConfig.BuildercognitoConfig(SagemakerWorkforceCognitoConfig cognitoConfig)Sets the value ofSagemakerWorkforceConfig.getCognitoConfig()SagemakerWorkforceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SagemakerWorkforceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SagemakerWorkforceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()SagemakerWorkforceConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()SagemakerWorkforceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()SagemakerWorkforceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()SagemakerWorkforceConfig.Builderid(String id)Sets the value ofSagemakerWorkforceConfig.getId()SagemakerWorkforceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()SagemakerWorkforceConfig.BuilderoidcConfig(SagemakerWorkforceOidcConfig oidcConfig)Sets the value ofSagemakerWorkforceConfig.getOidcConfig()SagemakerWorkforceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()SagemakerWorkforceConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()SagemakerWorkforceConfig.BuildersourceIpConfig(SagemakerWorkforceSourceIpConfig sourceIpConfig)Sets the value ofSagemakerWorkforceConfig.getSourceIpConfig()SagemakerWorkforceConfig.BuilderworkforceName(String workforceName)Sets the value ofSagemakerWorkforceConfig.getWorkforceName()SagemakerWorkforceConfig.BuilderworkforceVpcConfig(SagemakerWorkforceWorkforceVpcConfig workforceVpcConfig)Sets the value ofSagemakerWorkforceConfig.getWorkforceVpcConfig()
-
-
-
Method Detail
-
workforceName
@Stability(Stable) public SagemakerWorkforceConfig.Builder workforceName(String workforceName)
Sets the value ofSagemakerWorkforceConfig.getWorkforceName()- Parameters:
workforceName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#workforce_name SagemakerWorkforce#workforce_name}. This parameter is required.- Returns:
this
-
cognitoConfig
@Stability(Stable) public SagemakerWorkforceConfig.Builder cognitoConfig(SagemakerWorkforceCognitoConfig cognitoConfig)
Sets the value ofSagemakerWorkforceConfig.getCognitoConfig()- Parameters:
cognitoConfig- cognito_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#cognito_config SagemakerWorkforce#cognito_config}- Returns:
this
-
id
@Stability(Stable) public SagemakerWorkforceConfig.Builder id(String id)
Sets the value ofSagemakerWorkforceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#id SagemakerWorkforce#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
oidcConfig
@Stability(Stable) public SagemakerWorkforceConfig.Builder oidcConfig(SagemakerWorkforceOidcConfig oidcConfig)
Sets the value ofSagemakerWorkforceConfig.getOidcConfig()- Parameters:
oidcConfig- oidc_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#oidc_config SagemakerWorkforce#oidc_config}- Returns:
this
-
sourceIpConfig
@Stability(Stable) public SagemakerWorkforceConfig.Builder sourceIpConfig(SagemakerWorkforceSourceIpConfig sourceIpConfig)
Sets the value ofSagemakerWorkforceConfig.getSourceIpConfig()- Parameters:
sourceIpConfig- source_ip_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#source_ip_config SagemakerWorkforce#source_ip_config}- Returns:
this
-
workforceVpcConfig
@Stability(Stable) public SagemakerWorkforceConfig.Builder workforceVpcConfig(SagemakerWorkforceWorkforceVpcConfig workforceVpcConfig)
Sets the value ofSagemakerWorkforceConfig.getWorkforceVpcConfig()- Parameters:
workforceVpcConfig- workforce_vpc_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#workforce_vpc_config SagemakerWorkforce#workforce_vpc_config}- Returns:
this
-
connection
@Stability(Experimental) public SagemakerWorkforceConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public SagemakerWorkforceConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SagemakerWorkforceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SagemakerWorkforceConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public SagemakerWorkforceConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public SagemakerWorkforceConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public SagemakerWorkforceConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public SagemakerWorkforceConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public SagemakerWorkforceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SagemakerWorkforceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SagemakerWorkforceConfig>- Returns:
- a new instance of
SagemakerWorkforceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-