Class EvidentlyLaunchConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.evidently_launch.EvidentlyLaunchConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EvidentlyLaunchConfig>
- Enclosing interface:
- EvidentlyLaunchConfig
@Stability(Stable) public static final class EvidentlyLaunchConfig.Builder extends Object implements software.amazon.jsii.Builder<EvidentlyLaunchConfig>
A builder forEvidentlyLaunchConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvidentlyLaunchConfigbuild()Builds the configured instance.EvidentlyLaunchConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EvidentlyLaunchConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EvidentlyLaunchConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()EvidentlyLaunchConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()EvidentlyLaunchConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()EvidentlyLaunchConfig.Builderdescription(String description)Sets the value ofEvidentlyLaunchConfig.getDescription()EvidentlyLaunchConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()EvidentlyLaunchConfig.Buildergroups(com.hashicorp.cdktf.IResolvable groups)Sets the value ofEvidentlyLaunchConfig.getGroups()EvidentlyLaunchConfig.Buildergroups(List<? extends EvidentlyLaunchGroups> groups)Sets the value ofEvidentlyLaunchConfig.getGroups()EvidentlyLaunchConfig.Builderid(String id)Sets the value ofEvidentlyLaunchConfig.getId()EvidentlyLaunchConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()EvidentlyLaunchConfig.BuildermetricMonitors(com.hashicorp.cdktf.IResolvable metricMonitors)Sets the value ofEvidentlyLaunchConfig.getMetricMonitors()EvidentlyLaunchConfig.BuildermetricMonitors(List<? extends EvidentlyLaunchMetricMonitors> metricMonitors)Sets the value ofEvidentlyLaunchConfig.getMetricMonitors()EvidentlyLaunchConfig.Buildername(String name)Sets the value ofEvidentlyLaunchConfig.getName()EvidentlyLaunchConfig.Builderproject(String project)Sets the value ofEvidentlyLaunchConfig.getProject()EvidentlyLaunchConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()EvidentlyLaunchConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()EvidentlyLaunchConfig.BuilderrandomizationSalt(String randomizationSalt)Sets the value ofEvidentlyLaunchConfig.getRandomizationSalt()EvidentlyLaunchConfig.BuilderscheduledSplitsConfig(EvidentlyLaunchScheduledSplitsConfig scheduledSplitsConfig)Sets the value ofEvidentlyLaunchConfig.getScheduledSplitsConfig()EvidentlyLaunchConfig.Buildertags(Map<String,String> tags)Sets the value ofEvidentlyLaunchConfig.getTags()EvidentlyLaunchConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEvidentlyLaunchConfig.getTagsAll()EvidentlyLaunchConfig.Buildertimeouts(EvidentlyLaunchTimeouts timeouts)Sets the value ofEvidentlyLaunchConfig.getTimeouts()
-
-
-
Method Detail
-
groups
@Stability(Stable) public EvidentlyLaunchConfig.Builder groups(com.hashicorp.cdktf.IResolvable groups)
Sets the value ofEvidentlyLaunchConfig.getGroups()- Parameters:
groups- groups block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#groups EvidentlyLaunch#groups}- Returns:
this
-
groups
@Stability(Stable) public EvidentlyLaunchConfig.Builder groups(List<? extends EvidentlyLaunchGroups> groups)
Sets the value ofEvidentlyLaunchConfig.getGroups()- Parameters:
groups- groups block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#groups EvidentlyLaunch#groups}- Returns:
this
-
name
@Stability(Stable) public EvidentlyLaunchConfig.Builder name(String name)
Sets the value ofEvidentlyLaunchConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#name EvidentlyLaunch#name}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public EvidentlyLaunchConfig.Builder project(String project)
Sets the value ofEvidentlyLaunchConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#project EvidentlyLaunch#project}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public EvidentlyLaunchConfig.Builder description(String description)
Sets the value ofEvidentlyLaunchConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#description EvidentlyLaunch#description}.- Returns:
this
-
id
@Stability(Stable) public EvidentlyLaunchConfig.Builder id(String id)
Sets the value ofEvidentlyLaunchConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#id EvidentlyLaunch#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
-
metricMonitors
@Stability(Stable) public EvidentlyLaunchConfig.Builder metricMonitors(com.hashicorp.cdktf.IResolvable metricMonitors)
Sets the value ofEvidentlyLaunchConfig.getMetricMonitors()- Parameters:
metricMonitors- metric_monitors block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#metric_monitors EvidentlyLaunch#metric_monitors}- Returns:
this
-
metricMonitors
@Stability(Stable) public EvidentlyLaunchConfig.Builder metricMonitors(List<? extends EvidentlyLaunchMetricMonitors> metricMonitors)
Sets the value ofEvidentlyLaunchConfig.getMetricMonitors()- Parameters:
metricMonitors- metric_monitors block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#metric_monitors EvidentlyLaunch#metric_monitors}- Returns:
this
-
randomizationSalt
@Stability(Stable) public EvidentlyLaunchConfig.Builder randomizationSalt(String randomizationSalt)
Sets the value ofEvidentlyLaunchConfig.getRandomizationSalt()- Parameters:
randomizationSalt- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#randomization_salt EvidentlyLaunch#randomization_salt}.- Returns:
this
-
scheduledSplitsConfig
@Stability(Stable) public EvidentlyLaunchConfig.Builder scheduledSplitsConfig(EvidentlyLaunchScheduledSplitsConfig scheduledSplitsConfig)
Sets the value ofEvidentlyLaunchConfig.getScheduledSplitsConfig()- Parameters:
scheduledSplitsConfig- scheduled_splits_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#scheduled_splits_config EvidentlyLaunch#scheduled_splits_config}- Returns:
this
-
tags
@Stability(Stable) public EvidentlyLaunchConfig.Builder tags(Map<String,String> tags)
Sets the value ofEvidentlyLaunchConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#tags EvidentlyLaunch#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public EvidentlyLaunchConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEvidentlyLaunchConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#tags_all EvidentlyLaunch#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public EvidentlyLaunchConfig.Builder timeouts(EvidentlyLaunchTimeouts timeouts)
Sets the value ofEvidentlyLaunchConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_launch#timeouts EvidentlyLaunch#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.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 EvidentlyLaunchConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EvidentlyLaunchConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EvidentlyLaunchConfig>- Returns:
- a new instance of
EvidentlyLaunchConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-