Class AmplifyBranchConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.amplify_branch.AmplifyBranchConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AmplifyBranchConfig>
- Enclosing interface:
- AmplifyBranchConfig
@Stability(Stable) public static final class AmplifyBranchConfig.Builder extends Object implements software.amazon.jsii.Builder<AmplifyBranchConfig>
A builder forAmplifyBranchConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
appId
@Stability(Stable) public AmplifyBranchConfig.Builder appId(String appId)
Sets the value ofAmplifyBranchConfig.getAppId()- Parameters:
appId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#app_id AmplifyBranch#app_id}. This parameter is required.- Returns:
this
-
branchName
@Stability(Stable) public AmplifyBranchConfig.Builder branchName(String branchName)
Sets the value ofAmplifyBranchConfig.getBranchName()- Parameters:
branchName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#branch_name AmplifyBranch#branch_name}. This parameter is required.- Returns:
this
-
backendEnvironmentArn
@Stability(Stable) public AmplifyBranchConfig.Builder backendEnvironmentArn(String backendEnvironmentArn)
Sets the value ofAmplifyBranchConfig.getBackendEnvironmentArn()- Parameters:
backendEnvironmentArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#backend_environment_arn AmplifyBranch#backend_environment_arn}.- Returns:
this
-
basicAuthCredentials
@Stability(Stable) public AmplifyBranchConfig.Builder basicAuthCredentials(String basicAuthCredentials)
Sets the value ofAmplifyBranchConfig.getBasicAuthCredentials()- Parameters:
basicAuthCredentials- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#basic_auth_credentials AmplifyBranch#basic_auth_credentials}.- Returns:
this
-
description
@Stability(Stable) public AmplifyBranchConfig.Builder description(String description)
Sets the value ofAmplifyBranchConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#description AmplifyBranch#description}.- Returns:
this
-
displayName
@Stability(Stable) public AmplifyBranchConfig.Builder displayName(String displayName)
Sets the value ofAmplifyBranchConfig.getDisplayName()- Parameters:
displayName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#display_name AmplifyBranch#display_name}.- Returns:
this
-
enableAutoBuild
@Stability(Stable) public AmplifyBranchConfig.Builder enableAutoBuild(Boolean enableAutoBuild)
Sets the value ofAmplifyBranchConfig.getEnableAutoBuild()- Parameters:
enableAutoBuild- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_auto_build AmplifyBranch#enable_auto_build}.- Returns:
this
-
enableAutoBuild
@Stability(Stable) public AmplifyBranchConfig.Builder enableAutoBuild(com.hashicorp.cdktf.IResolvable enableAutoBuild)
Sets the value ofAmplifyBranchConfig.getEnableAutoBuild()- Parameters:
enableAutoBuild- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_auto_build AmplifyBranch#enable_auto_build}.- Returns:
this
-
enableBasicAuth
@Stability(Stable) public AmplifyBranchConfig.Builder enableBasicAuth(Boolean enableBasicAuth)
Sets the value ofAmplifyBranchConfig.getEnableBasicAuth()- Parameters:
enableBasicAuth- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_basic_auth AmplifyBranch#enable_basic_auth}.- Returns:
this
-
enableBasicAuth
@Stability(Stable) public AmplifyBranchConfig.Builder enableBasicAuth(com.hashicorp.cdktf.IResolvable enableBasicAuth)
Sets the value ofAmplifyBranchConfig.getEnableBasicAuth()- Parameters:
enableBasicAuth- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_basic_auth AmplifyBranch#enable_basic_auth}.- Returns:
this
-
enableNotification
@Stability(Stable) public AmplifyBranchConfig.Builder enableNotification(Boolean enableNotification)
Sets the value ofAmplifyBranchConfig.getEnableNotification()- Parameters:
enableNotification- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_notification AmplifyBranch#enable_notification}.- Returns:
this
-
enableNotification
@Stability(Stable) public AmplifyBranchConfig.Builder enableNotification(com.hashicorp.cdktf.IResolvable enableNotification)
Sets the value ofAmplifyBranchConfig.getEnableNotification()- Parameters:
enableNotification- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_notification AmplifyBranch#enable_notification}.- Returns:
this
-
enablePerformanceMode
@Stability(Stable) public AmplifyBranchConfig.Builder enablePerformanceMode(Boolean enablePerformanceMode)
Sets the value ofAmplifyBranchConfig.getEnablePerformanceMode()- Parameters:
enablePerformanceMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_performance_mode AmplifyBranch#enable_performance_mode}.- Returns:
this
-
enablePerformanceMode
@Stability(Stable) public AmplifyBranchConfig.Builder enablePerformanceMode(com.hashicorp.cdktf.IResolvable enablePerformanceMode)
Sets the value ofAmplifyBranchConfig.getEnablePerformanceMode()- Parameters:
enablePerformanceMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_performance_mode AmplifyBranch#enable_performance_mode}.- Returns:
this
-
enablePullRequestPreview
@Stability(Stable) public AmplifyBranchConfig.Builder enablePullRequestPreview(Boolean enablePullRequestPreview)
Sets the value ofAmplifyBranchConfig.getEnablePullRequestPreview()- Parameters:
enablePullRequestPreview- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_pull_request_preview AmplifyBranch#enable_pull_request_preview}.- Returns:
this
-
enablePullRequestPreview
@Stability(Stable) public AmplifyBranchConfig.Builder enablePullRequestPreview(com.hashicorp.cdktf.IResolvable enablePullRequestPreview)
Sets the value ofAmplifyBranchConfig.getEnablePullRequestPreview()- Parameters:
enablePullRequestPreview- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#enable_pull_request_preview AmplifyBranch#enable_pull_request_preview}.- Returns:
this
-
environmentVariables
@Stability(Stable) public AmplifyBranchConfig.Builder environmentVariables(Map<String,String> environmentVariables)
Sets the value ofAmplifyBranchConfig.getEnvironmentVariables()- Parameters:
environmentVariables- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#environment_variables AmplifyBranch#environment_variables}.- Returns:
this
-
framework
@Stability(Stable) public AmplifyBranchConfig.Builder framework(String framework)
Sets the value ofAmplifyBranchConfig.getFramework()- Parameters:
framework- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#framework AmplifyBranch#framework}.- Returns:
this
-
id
@Stability(Stable) public AmplifyBranchConfig.Builder id(String id)
Sets the value ofAmplifyBranchConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#id AmplifyBranch#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
-
pullRequestEnvironmentName
@Stability(Stable) public AmplifyBranchConfig.Builder pullRequestEnvironmentName(String pullRequestEnvironmentName)
Sets the value ofAmplifyBranchConfig.getPullRequestEnvironmentName()- Parameters:
pullRequestEnvironmentName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#pull_request_environment_name AmplifyBranch#pull_request_environment_name}.- Returns:
this
-
stage
@Stability(Stable) public AmplifyBranchConfig.Builder stage(String stage)
Sets the value ofAmplifyBranchConfig.getStage()- Parameters:
stage- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#stage AmplifyBranch#stage}.- Returns:
this
-
tags
@Stability(Stable) public AmplifyBranchConfig.Builder tags(Map<String,String> tags)
Sets the value ofAmplifyBranchConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#tags AmplifyBranch#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public AmplifyBranchConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofAmplifyBranchConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#tags_all AmplifyBranch#tags_all}.- Returns:
this
-
ttl
@Stability(Stable) public AmplifyBranchConfig.Builder ttl(String ttl)
Sets the value ofAmplifyBranchConfig.getTtl()- Parameters:
ttl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/amplify_branch#ttl AmplifyBranch#ttl}.- Returns:
this
-
connection
@Stability(Experimental) public AmplifyBranchConfig.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 AmplifyBranchConfig.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 AmplifyBranchConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public AmplifyBranchConfig.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 AmplifyBranchConfig.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 AmplifyBranchConfig.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 AmplifyBranchConfig.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 AmplifyBranchConfig.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 AmplifyBranchConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public AmplifyBranchConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AmplifyBranchConfig>- Returns:
- a new instance of
AmplifyBranchConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-