Class EvidentlyFeatureConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.evidently_feature.EvidentlyFeatureConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EvidentlyFeatureConfig>
- Enclosing interface:
- EvidentlyFeatureConfig
@Stability(Stable) public static final class EvidentlyFeatureConfig.Builder extends Object implements software.amazon.jsii.Builder<EvidentlyFeatureConfig>
A builder forEvidentlyFeatureConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvidentlyFeatureConfigbuild()Builds the configured instance.EvidentlyFeatureConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EvidentlyFeatureConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()EvidentlyFeatureConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()EvidentlyFeatureConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()EvidentlyFeatureConfig.BuilderdefaultVariation(String defaultVariation)Sets the value ofEvidentlyFeatureConfig.getDefaultVariation()EvidentlyFeatureConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()EvidentlyFeatureConfig.Builderdescription(String description)Sets the value ofEvidentlyFeatureConfig.getDescription()EvidentlyFeatureConfig.BuilderentityOverrides(Map<String,String> entityOverrides)Sets the value ofEvidentlyFeatureConfig.getEntityOverrides()EvidentlyFeatureConfig.BuilderevaluationStrategy(String evaluationStrategy)Sets the value ofEvidentlyFeatureConfig.getEvaluationStrategy()EvidentlyFeatureConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()EvidentlyFeatureConfig.Builderid(String id)Sets the value ofEvidentlyFeatureConfig.getId()EvidentlyFeatureConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()EvidentlyFeatureConfig.Buildername(String name)Sets the value ofEvidentlyFeatureConfig.getName()EvidentlyFeatureConfig.Builderproject(String project)Sets the value ofEvidentlyFeatureConfig.getProject()EvidentlyFeatureConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()EvidentlyFeatureConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()EvidentlyFeatureConfig.Buildertags(Map<String,String> tags)Sets the value ofEvidentlyFeatureConfig.getTags()EvidentlyFeatureConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofEvidentlyFeatureConfig.getTagsAll()EvidentlyFeatureConfig.Buildertimeouts(EvidentlyFeatureTimeouts timeouts)Sets the value ofEvidentlyFeatureConfig.getTimeouts()EvidentlyFeatureConfig.Buildervariations(com.hashicorp.cdktf.IResolvable variations)Sets the value ofEvidentlyFeatureConfig.getVariations()EvidentlyFeatureConfig.Buildervariations(List<? extends EvidentlyFeatureVariations> variations)Sets the value ofEvidentlyFeatureConfig.getVariations()
-
-
-
Method Detail
-
name
@Stability(Stable) public EvidentlyFeatureConfig.Builder name(String name)
Sets the value ofEvidentlyFeatureConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#name EvidentlyFeature#name}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public EvidentlyFeatureConfig.Builder project(String project)
Sets the value ofEvidentlyFeatureConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#project EvidentlyFeature#project}. This parameter is required.- Returns:
this
-
variations
@Stability(Stable) public EvidentlyFeatureConfig.Builder variations(com.hashicorp.cdktf.IResolvable variations)
Sets the value ofEvidentlyFeatureConfig.getVariations()- Parameters:
variations- variations block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#variations EvidentlyFeature#variations}- Returns:
this
-
variations
@Stability(Stable) public EvidentlyFeatureConfig.Builder variations(List<? extends EvidentlyFeatureVariations> variations)
Sets the value ofEvidentlyFeatureConfig.getVariations()- Parameters:
variations- variations block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#variations EvidentlyFeature#variations}- Returns:
this
-
defaultVariation
@Stability(Stable) public EvidentlyFeatureConfig.Builder defaultVariation(String defaultVariation)
Sets the value ofEvidentlyFeatureConfig.getDefaultVariation()- Parameters:
defaultVariation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#default_variation EvidentlyFeature#default_variation}.- Returns:
this
-
description
@Stability(Stable) public EvidentlyFeatureConfig.Builder description(String description)
Sets the value ofEvidentlyFeatureConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#description EvidentlyFeature#description}.- Returns:
this
-
entityOverrides
@Stability(Stable) public EvidentlyFeatureConfig.Builder entityOverrides(Map<String,String> entityOverrides)
Sets the value ofEvidentlyFeatureConfig.getEntityOverrides()- Parameters:
entityOverrides- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#entity_overrides EvidentlyFeature#entity_overrides}.- Returns:
this
-
evaluationStrategy
@Stability(Stable) public EvidentlyFeatureConfig.Builder evaluationStrategy(String evaluationStrategy)
Sets the value ofEvidentlyFeatureConfig.getEvaluationStrategy()- Parameters:
evaluationStrategy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#evaluation_strategy EvidentlyFeature#evaluation_strategy}.- Returns:
this
-
id
@Stability(Stable) public EvidentlyFeatureConfig.Builder id(String id)
Sets the value ofEvidentlyFeatureConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#id EvidentlyFeature#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 EvidentlyFeatureConfig.Builder tags(Map<String,String> tags)
Sets the value ofEvidentlyFeatureConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#tags EvidentlyFeature#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public EvidentlyFeatureConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEvidentlyFeatureConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#tags_all EvidentlyFeature#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public EvidentlyFeatureConfig.Builder timeouts(EvidentlyFeatureTimeouts timeouts)
Sets the value ofEvidentlyFeatureConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/evidently_feature#timeouts EvidentlyFeature#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.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 EvidentlyFeatureConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EvidentlyFeatureConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EvidentlyFeatureConfig>- Returns:
- a new instance of
EvidentlyFeatureConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-