Class Route53HealthCheckConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.route53_health_check.Route53HealthCheckConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Route53HealthCheckConfig>
- Enclosing interface:
- Route53HealthCheckConfig
@Stability(Stable) public static final class Route53HealthCheckConfig.Builder extends Object implements software.amazon.jsii.Builder<Route53HealthCheckConfig>
A builder forRoute53HealthCheckConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
type
@Stability(Stable) public Route53HealthCheckConfig.Builder type(String type)
Sets the value ofRoute53HealthCheckConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#type Route53HealthCheck#type}. This parameter is required.- Returns:
this
-
childHealthchecks
@Stability(Stable) public Route53HealthCheckConfig.Builder childHealthchecks(List<String> childHealthchecks)
Sets the value ofRoute53HealthCheckConfig.getChildHealthchecks()- Parameters:
childHealthchecks- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#child_healthchecks Route53HealthCheck#child_healthchecks}.- Returns:
this
-
childHealthThreshold
@Stability(Stable) public Route53HealthCheckConfig.Builder childHealthThreshold(Number childHealthThreshold)
Sets the value ofRoute53HealthCheckConfig.getChildHealthThreshold()- Parameters:
childHealthThreshold- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#child_health_threshold Route53HealthCheck#child_health_threshold}.- Returns:
this
-
cloudwatchAlarmName
@Stability(Stable) public Route53HealthCheckConfig.Builder cloudwatchAlarmName(String cloudwatchAlarmName)
Sets the value ofRoute53HealthCheckConfig.getCloudwatchAlarmName()- Parameters:
cloudwatchAlarmName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#cloudwatch_alarm_name Route53HealthCheck#cloudwatch_alarm_name}.- Returns:
this
-
cloudwatchAlarmRegion
@Stability(Stable) public Route53HealthCheckConfig.Builder cloudwatchAlarmRegion(String cloudwatchAlarmRegion)
Sets the value ofRoute53HealthCheckConfig.getCloudwatchAlarmRegion()- Parameters:
cloudwatchAlarmRegion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#cloudwatch_alarm_region Route53HealthCheck#cloudwatch_alarm_region}.- Returns:
this
-
disabled
@Stability(Stable) public Route53HealthCheckConfig.Builder disabled(Boolean disabled)
Sets the value ofRoute53HealthCheckConfig.getDisabled()- Parameters:
disabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#disabled Route53HealthCheck#disabled}.- Returns:
this
-
disabled
@Stability(Stable) public Route53HealthCheckConfig.Builder disabled(com.hashicorp.cdktf.IResolvable disabled)
Sets the value ofRoute53HealthCheckConfig.getDisabled()- Parameters:
disabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#disabled Route53HealthCheck#disabled}.- Returns:
this
-
enableSni
@Stability(Stable) public Route53HealthCheckConfig.Builder enableSni(Boolean enableSni)
Sets the value ofRoute53HealthCheckConfig.getEnableSni()- Parameters:
enableSni- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#enable_sni Route53HealthCheck#enable_sni}.- Returns:
this
-
enableSni
@Stability(Stable) public Route53HealthCheckConfig.Builder enableSni(com.hashicorp.cdktf.IResolvable enableSni)
Sets the value ofRoute53HealthCheckConfig.getEnableSni()- Parameters:
enableSni- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#enable_sni Route53HealthCheck#enable_sni}.- Returns:
this
-
failureThreshold
@Stability(Stable) public Route53HealthCheckConfig.Builder failureThreshold(Number failureThreshold)
Sets the value ofRoute53HealthCheckConfig.getFailureThreshold()- Parameters:
failureThreshold- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#failure_threshold Route53HealthCheck#failure_threshold}.- Returns:
this
-
fqdn
@Stability(Stable) public Route53HealthCheckConfig.Builder fqdn(String fqdn)
Sets the value ofRoute53HealthCheckConfig.getFqdn()- Parameters:
fqdn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#fqdn Route53HealthCheck#fqdn}.- Returns:
this
-
id
@Stability(Stable) public Route53HealthCheckConfig.Builder id(String id)
Sets the value ofRoute53HealthCheckConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#id Route53HealthCheck#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
-
insufficientDataHealthStatus
@Stability(Stable) public Route53HealthCheckConfig.Builder insufficientDataHealthStatus(String insufficientDataHealthStatus)
Sets the value ofRoute53HealthCheckConfig.getInsufficientDataHealthStatus()- Parameters:
insufficientDataHealthStatus- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#insufficient_data_health_status Route53HealthCheck#insufficient_data_health_status}.- Returns:
this
-
invertHealthcheck
@Stability(Stable) public Route53HealthCheckConfig.Builder invertHealthcheck(Boolean invertHealthcheck)
Sets the value ofRoute53HealthCheckConfig.getInvertHealthcheck()- Parameters:
invertHealthcheck- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#invert_healthcheck Route53HealthCheck#invert_healthcheck}.- Returns:
this
-
invertHealthcheck
@Stability(Stable) public Route53HealthCheckConfig.Builder invertHealthcheck(com.hashicorp.cdktf.IResolvable invertHealthcheck)
Sets the value ofRoute53HealthCheckConfig.getInvertHealthcheck()- Parameters:
invertHealthcheck- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#invert_healthcheck Route53HealthCheck#invert_healthcheck}.- Returns:
this
-
ipAddress
@Stability(Stable) public Route53HealthCheckConfig.Builder ipAddress(String ipAddress)
Sets the value ofRoute53HealthCheckConfig.getIpAddress()- Parameters:
ipAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#ip_address Route53HealthCheck#ip_address}.- Returns:
this
-
measureLatency
@Stability(Stable) public Route53HealthCheckConfig.Builder measureLatency(Boolean measureLatency)
Sets the value ofRoute53HealthCheckConfig.getMeasureLatency()- Parameters:
measureLatency- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#measure_latency Route53HealthCheck#measure_latency}.- Returns:
this
-
measureLatency
@Stability(Stable) public Route53HealthCheckConfig.Builder measureLatency(com.hashicorp.cdktf.IResolvable measureLatency)
Sets the value ofRoute53HealthCheckConfig.getMeasureLatency()- Parameters:
measureLatency- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#measure_latency Route53HealthCheck#measure_latency}.- Returns:
this
-
port
@Stability(Stable) public Route53HealthCheckConfig.Builder port(Number port)
Sets the value ofRoute53HealthCheckConfig.getPort()- Parameters:
port- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#port Route53HealthCheck#port}.- Returns:
this
-
referenceName
@Stability(Stable) public Route53HealthCheckConfig.Builder referenceName(String referenceName)
Sets the value ofRoute53HealthCheckConfig.getReferenceName()- Parameters:
referenceName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#reference_name Route53HealthCheck#reference_name}.- Returns:
this
-
regions
@Stability(Stable) public Route53HealthCheckConfig.Builder regions(List<String> regions)
Sets the value ofRoute53HealthCheckConfig.getRegions()- Parameters:
regions- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#regions Route53HealthCheck#regions}.- Returns:
this
-
requestInterval
@Stability(Stable) public Route53HealthCheckConfig.Builder requestInterval(Number requestInterval)
Sets the value ofRoute53HealthCheckConfig.getRequestInterval()- Parameters:
requestInterval- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#request_interval Route53HealthCheck#request_interval}.- Returns:
this
-
resourcePath
@Stability(Stable) public Route53HealthCheckConfig.Builder resourcePath(String resourcePath)
Sets the value ofRoute53HealthCheckConfig.getResourcePath()- Parameters:
resourcePath- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#resource_path Route53HealthCheck#resource_path}.- Returns:
this
-
routingControlArn
@Stability(Stable) public Route53HealthCheckConfig.Builder routingControlArn(String routingControlArn)
Sets the value ofRoute53HealthCheckConfig.getRoutingControlArn()- Parameters:
routingControlArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#routing_control_arn Route53HealthCheck#routing_control_arn}.- Returns:
this
-
searchString
@Stability(Stable) public Route53HealthCheckConfig.Builder searchString(String searchString)
Sets the value ofRoute53HealthCheckConfig.getSearchString()- Parameters:
searchString- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#search_string Route53HealthCheck#search_string}.- Returns:
this
-
tags
@Stability(Stable) public Route53HealthCheckConfig.Builder tags(Map<String,String> tags)
Sets the value ofRoute53HealthCheckConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#tags Route53HealthCheck#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public Route53HealthCheckConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofRoute53HealthCheckConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_health_check#tags_all Route53HealthCheck#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public Route53HealthCheckConfig.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 Route53HealthCheckConfig.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 Route53HealthCheckConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Route53HealthCheckConfig.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 Route53HealthCheckConfig.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 Route53HealthCheckConfig.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 Route53HealthCheckConfig.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 Route53HealthCheckConfig.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 Route53HealthCheckConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public Route53HealthCheckConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Route53HealthCheckConfig>- Returns:
- a new instance of
Route53HealthCheckConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-