Class SagemakerWorkforceWorkforceVpcConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.sagemaker_workforce.SagemakerWorkforceWorkforceVpcConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SagemakerWorkforceWorkforceVpcConfig>
- Enclosing interface:
- SagemakerWorkforceWorkforceVpcConfig
@Stability(Stable) public static final class SagemakerWorkforceWorkforceVpcConfig.Builder extends Object implements software.amazon.jsii.Builder<SagemakerWorkforceWorkforceVpcConfig>
A builder forSagemakerWorkforceWorkforceVpcConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SagemakerWorkforceWorkforceVpcConfigbuild()Builds the configured instance.SagemakerWorkforceWorkforceVpcConfig.BuildersecurityGroupIds(List<String> securityGroupIds)Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getSecurityGroupIds()SagemakerWorkforceWorkforceVpcConfig.Buildersubnets(List<String> subnets)Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getSubnets()SagemakerWorkforceWorkforceVpcConfig.BuildervpcId(String vpcId)Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getVpcId()
-
-
-
Method Detail
-
securityGroupIds
@Stability(Stable) public SagemakerWorkforceWorkforceVpcConfig.Builder securityGroupIds(List<String> securityGroupIds)
Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getSecurityGroupIds()- Parameters:
securityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#security_group_ids SagemakerWorkforce#security_group_ids}.- Returns:
this
-
subnets
@Stability(Stable) public SagemakerWorkforceWorkforceVpcConfig.Builder subnets(List<String> subnets)
Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getSubnets()- Parameters:
subnets- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#subnets SagemakerWorkforce#subnets}.- Returns:
this
-
vpcId
@Stability(Stable) public SagemakerWorkforceWorkforceVpcConfig.Builder vpcId(String vpcId)
Sets the value ofSagemakerWorkforceWorkforceVpcConfig.getVpcId()- Parameters:
vpcId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_workforce#vpc_id SagemakerWorkforce#vpc_id}.- Returns:
this
-
build
@Stability(Stable) public SagemakerWorkforceWorkforceVpcConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SagemakerWorkforceWorkforceVpcConfig>- Returns:
- a new instance of
SagemakerWorkforceWorkforceVpcConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-