Class SagemakerWorkforce.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.sagemaker_workforce.SagemakerWorkforce.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SagemakerWorkforce>
- Enclosing class:
- SagemakerWorkforce
@Stability(Stable) public static final class SagemakerWorkforce.Builder extends Object implements software.amazon.jsii.Builder<SagemakerWorkforce>
A fluent builder forSagemakerWorkforce.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SagemakerWorkforcebuild()SagemakerWorkforce.BuildercognitoConfig(SagemakerWorkforceCognitoConfig cognitoConfig)cognito_config block.SagemakerWorkforce.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SagemakerWorkforce.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SagemakerWorkforce.Buildercount(com.hashicorp.cdktf.TerraformCount count)SagemakerWorkforce.Buildercount(Number count)static SagemakerWorkforce.Buildercreate(software.constructs.Construct scope, String id)SagemakerWorkforce.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SagemakerWorkforce.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SagemakerWorkforce.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#id SagemakerWorkforce#id}.SagemakerWorkforce.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SagemakerWorkforce.BuilderoidcConfig(SagemakerWorkforceOidcConfig oidcConfig)oidc_config block.SagemakerWorkforce.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SagemakerWorkforce.Builderprovisioners(List<? extends Object> provisioners)SagemakerWorkforce.BuildersourceIpConfig(SagemakerWorkforceSourceIpConfig sourceIpConfig)source_ip_config block.SagemakerWorkforce.BuilderworkforceName(String 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}.SagemakerWorkforce.BuilderworkforceVpcConfig(SagemakerWorkforceWorkforceVpcConfig workforceVpcConfig)workforce_vpc_config block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SagemakerWorkforce.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
SagemakerWorkforce.Builder.
-
connection
@Stability(Experimental) public SagemakerWorkforce.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SagemakerWorkforce.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SagemakerWorkforce.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SagemakerWorkforce.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SagemakerWorkforce.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SagemakerWorkforce.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SagemakerWorkforce.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SagemakerWorkforce.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SagemakerWorkforce.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
workforceName
@Stability(Stable) public SagemakerWorkforce.Builder workforceName(String 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}.- 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 SagemakerWorkforce.Builder cognitoConfig(SagemakerWorkforceCognitoConfig 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}
- Parameters:
cognitoConfig- cognito_config block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SagemakerWorkforce.Builder id(String 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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#id SagemakerWorkforce#id}. This parameter is required.- Returns:
this
-
oidcConfig
@Stability(Stable) public SagemakerWorkforce.Builder oidcConfig(SagemakerWorkforceOidcConfig 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}
- Parameters:
oidcConfig- oidc_config block. This parameter is required.- Returns:
this
-
sourceIpConfig
@Stability(Stable) public SagemakerWorkforce.Builder sourceIpConfig(SagemakerWorkforceSourceIpConfig 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}
- Parameters:
sourceIpConfig- source_ip_config block. This parameter is required.- Returns:
this
-
workforceVpcConfig
@Stability(Stable) public SagemakerWorkforce.Builder workforceVpcConfig(SagemakerWorkforceWorkforceVpcConfig 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}
- Parameters:
workforceVpcConfig- workforce_vpc_config block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SagemakerWorkforce build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SagemakerWorkforce>- Returns:
- a newly built instance of
SagemakerWorkforce.
-
-