Class SagemakerFlowDefinitionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.sagemaker_flow_definition.SagemakerFlowDefinitionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SagemakerFlowDefinitionConfig>
- Enclosing interface:
- SagemakerFlowDefinitionConfig
@Stability(Stable) public static final class SagemakerFlowDefinitionConfig.Builder extends Object implements software.amazon.jsii.Builder<SagemakerFlowDefinitionConfig>
A builder forSagemakerFlowDefinitionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
flowDefinitionName
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder flowDefinitionName(String flowDefinitionName)
Sets the value ofSagemakerFlowDefinitionConfig.getFlowDefinitionName()- Parameters:
flowDefinitionName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#flow_definition_name SagemakerFlowDefinition#flow_definition_name}. This parameter is required.- Returns:
this
-
humanLoopConfig
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder humanLoopConfig(SagemakerFlowDefinitionHumanLoopConfig humanLoopConfig)
Sets the value ofSagemakerFlowDefinitionConfig.getHumanLoopConfig()- Parameters:
humanLoopConfig- human_loop_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#human_loop_config SagemakerFlowDefinition#human_loop_config}- Returns:
this
-
outputConfig
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder outputConfig(SagemakerFlowDefinitionOutputConfig outputConfig)
Sets the value ofSagemakerFlowDefinitionConfig.getOutputConfig()- Parameters:
outputConfig- output_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#output_config SagemakerFlowDefinition#output_config}- Returns:
this
-
roleArn
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder roleArn(String roleArn)
Sets the value ofSagemakerFlowDefinitionConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#role_arn SagemakerFlowDefinition#role_arn}. This parameter is required.- Returns:
this
-
humanLoopActivationConfig
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder humanLoopActivationConfig(SagemakerFlowDefinitionHumanLoopActivationConfig humanLoopActivationConfig)
Sets the value ofSagemakerFlowDefinitionConfig.getHumanLoopActivationConfig()- Parameters:
humanLoopActivationConfig- human_loop_activation_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#human_loop_activation_config SagemakerFlowDefinition#human_loop_activation_config}- Returns:
this
-
humanLoopRequestSource
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder humanLoopRequestSource(SagemakerFlowDefinitionHumanLoopRequestSource humanLoopRequestSource)
Sets the value ofSagemakerFlowDefinitionConfig.getHumanLoopRequestSource()- Parameters:
humanLoopRequestSource- human_loop_request_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#human_loop_request_source SagemakerFlowDefinition#human_loop_request_source}- Returns:
this
-
id
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder id(String id)
Sets the value ofSagemakerFlowDefinitionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#id SagemakerFlowDefinition#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
-
tags
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder tags(Map<String,String> tags)
Sets the value ofSagemakerFlowDefinitionConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#tags SagemakerFlowDefinition#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public SagemakerFlowDefinitionConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofSagemakerFlowDefinitionConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/sagemaker_flow_definition#tags_all SagemakerFlowDefinition#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.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 SagemakerFlowDefinitionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SagemakerFlowDefinitionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SagemakerFlowDefinitionConfig>- Returns:
- a new instance of
SagemakerFlowDefinitionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-