Package com.pulumi.aws.route53.inputs
Class HealthCheckState.Builder
- java.lang.Object
-
- com.pulumi.aws.route53.inputs.HealthCheckState.Builder
-
- Enclosing class:
- HealthCheckState
public static final class HealthCheckState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(HealthCheckState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)HealthCheckState.Builderarn(java.lang.String arn)HealthCheckStatebuild()HealthCheckState.BuilderchildHealthchecks(com.pulumi.core.Output<java.util.List<java.lang.String>> childHealthchecks)HealthCheckState.BuilderchildHealthchecks(java.lang.String... childHealthchecks)HealthCheckState.BuilderchildHealthchecks(java.util.List<java.lang.String> childHealthchecks)HealthCheckState.BuilderchildHealthThreshold(com.pulumi.core.Output<java.lang.Integer> childHealthThreshold)HealthCheckState.BuilderchildHealthThreshold(java.lang.Integer childHealthThreshold)HealthCheckState.BuildercloudwatchAlarmName(com.pulumi.core.Output<java.lang.String> cloudwatchAlarmName)HealthCheckState.BuildercloudwatchAlarmName(java.lang.String cloudwatchAlarmName)HealthCheckState.BuildercloudwatchAlarmRegion(com.pulumi.core.Output<java.lang.String> cloudwatchAlarmRegion)HealthCheckState.BuildercloudwatchAlarmRegion(java.lang.String cloudwatchAlarmRegion)HealthCheckState.Builderdisabled(com.pulumi.core.Output<java.lang.Boolean> disabled)HealthCheckState.Builderdisabled(java.lang.Boolean disabled)HealthCheckState.BuilderenableSni(com.pulumi.core.Output<java.lang.Boolean> enableSni)HealthCheckState.BuilderenableSni(java.lang.Boolean enableSni)HealthCheckState.BuilderfailureThreshold(com.pulumi.core.Output<java.lang.Integer> failureThreshold)HealthCheckState.BuilderfailureThreshold(java.lang.Integer failureThreshold)HealthCheckState.Builderfqdn(com.pulumi.core.Output<java.lang.String> fqdn)HealthCheckState.Builderfqdn(java.lang.String fqdn)HealthCheckState.BuilderinsufficientDataHealthStatus(com.pulumi.core.Output<java.lang.String> insufficientDataHealthStatus)HealthCheckState.BuilderinsufficientDataHealthStatus(java.lang.String insufficientDataHealthStatus)HealthCheckState.BuilderinvertHealthcheck(com.pulumi.core.Output<java.lang.Boolean> invertHealthcheck)HealthCheckState.BuilderinvertHealthcheck(java.lang.Boolean invertHealthcheck)HealthCheckState.BuilderipAddress(com.pulumi.core.Output<java.lang.String> ipAddress)HealthCheckState.BuilderipAddress(java.lang.String ipAddress)HealthCheckState.BuildermeasureLatency(com.pulumi.core.Output<java.lang.Boolean> measureLatency)HealthCheckState.BuildermeasureLatency(java.lang.Boolean measureLatency)HealthCheckState.Builderport(com.pulumi.core.Output<java.lang.Integer> port)HealthCheckState.Builderport(java.lang.Integer port)HealthCheckState.BuilderreferenceName(com.pulumi.core.Output<java.lang.String> referenceName)HealthCheckState.BuilderreferenceName(java.lang.String referenceName)HealthCheckState.Builderregions(com.pulumi.core.Output<java.util.List<java.lang.String>> regions)HealthCheckState.Builderregions(java.lang.String... regions)HealthCheckState.Builderregions(java.util.List<java.lang.String> regions)HealthCheckState.BuilderrequestInterval(com.pulumi.core.Output<java.lang.Integer> requestInterval)HealthCheckState.BuilderrequestInterval(java.lang.Integer requestInterval)HealthCheckState.BuilderresourcePath(com.pulumi.core.Output<java.lang.String> resourcePath)HealthCheckState.BuilderresourcePath(java.lang.String resourcePath)HealthCheckState.BuilderroutingControlArn(com.pulumi.core.Output<java.lang.String> routingControlArn)HealthCheckState.BuilderroutingControlArn(java.lang.String routingControlArn)HealthCheckState.BuildersearchString(com.pulumi.core.Output<java.lang.String> searchString)HealthCheckState.BuildersearchString(java.lang.String searchString)HealthCheckState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)HealthCheckState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)HealthCheckState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)HealthCheckState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)HealthCheckState.Buildertriggers(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> triggers)HealthCheckState.Buildertriggers(java.util.Map<java.lang.String,java.lang.String> triggers)HealthCheckState.Buildertype(com.pulumi.core.Output<java.lang.String> type)HealthCheckState.Buildertype(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(HealthCheckState defaults)
-
-
Method Detail
-
arn
public HealthCheckState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the Health Check.- Returns:
- builder
-
arn
public HealthCheckState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the Health Check.- Returns:
- builder
-
childHealthThreshold
public HealthCheckState.Builder childHealthThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> childHealthThreshold)
- Parameters:
childHealthThreshold- The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive- Returns:
- builder
-
childHealthThreshold
public HealthCheckState.Builder childHealthThreshold(java.lang.Integer childHealthThreshold)
- Parameters:
childHealthThreshold- The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive- Returns:
- builder
-
childHealthchecks
public HealthCheckState.Builder childHealthchecks(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
childHealthchecks
public HealthCheckState.Builder childHealthchecks(java.util.List<java.lang.String> childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
childHealthchecks
public HealthCheckState.Builder childHealthchecks(java.lang.String... childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
cloudwatchAlarmName
public HealthCheckState.Builder cloudwatchAlarmName(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchAlarmName)
- Parameters:
cloudwatchAlarmName- The name of the CloudWatch alarm.- Returns:
- builder
-
cloudwatchAlarmName
public HealthCheckState.Builder cloudwatchAlarmName(java.lang.String cloudwatchAlarmName)
- Parameters:
cloudwatchAlarmName- The name of the CloudWatch alarm.- Returns:
- builder
-
cloudwatchAlarmRegion
public HealthCheckState.Builder cloudwatchAlarmRegion(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchAlarmRegion)
- Parameters:
cloudwatchAlarmRegion- The region that the CloudWatch alarm was created in.- Returns:
- builder
-
cloudwatchAlarmRegion
public HealthCheckState.Builder cloudwatchAlarmRegion(java.lang.String cloudwatchAlarmRegion)
- Parameters:
cloudwatchAlarmRegion- The region that the CloudWatch alarm was created in.- Returns:
- builder
-
disabled
public HealthCheckState.Builder disabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> disabled)
- Parameters:
disabled- A boolean value that stops Route 53 from performing health checks. When set to true, Route 53 will do the following depending on the type of health check: * For health checks that check the health of endpoints, Route53 stops submitting requests to your application, server, or other resource. * For calculated health checks, Route 53 stops aggregating the status of the referenced health checks. * For health checks that monitor CloudWatch alarms, Route 53 stops monitoring the corresponding CloudWatch metrics. > **Note:** After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of `invertHealthcheck`.- Returns:
- builder
-
disabled
public HealthCheckState.Builder disabled(java.lang.Boolean disabled)
- Parameters:
disabled- A boolean value that stops Route 53 from performing health checks. When set to true, Route 53 will do the following depending on the type of health check: * For health checks that check the health of endpoints, Route53 stops submitting requests to your application, server, or other resource. * For calculated health checks, Route 53 stops aggregating the status of the referenced health checks. * For health checks that monitor CloudWatch alarms, Route 53 stops monitoring the corresponding CloudWatch metrics. > **Note:** After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of `invertHealthcheck`.- Returns:
- builder
-
enableSni
public HealthCheckState.Builder enableSni(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableSni)
- Parameters:
enableSni- A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enableSni` defaults to `true`, when `type` is anything else `enableSni` defaults to `false`.- Returns:
- builder
-
enableSni
public HealthCheckState.Builder enableSni(java.lang.Boolean enableSni)
- Parameters:
enableSni- A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enableSni` defaults to `true`, when `type` is anything else `enableSni` defaults to `false`.- Returns:
- builder
-
failureThreshold
public HealthCheckState.Builder failureThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> failureThreshold)
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail.- Returns:
- builder
-
failureThreshold
public HealthCheckState.Builder failureThreshold(java.lang.Integer failureThreshold)
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail.- Returns:
- builder
-
fqdn
public HealthCheckState.Builder fqdn(@Nullable com.pulumi.core.Output<java.lang.String> fqdn)
- Parameters:
fqdn- The fully qualified domain name of the endpoint to be checked. If a value is set for `ipAddress`, the value set for `fqdn` will be passed in the `Host` header.- Returns:
- builder
-
fqdn
public HealthCheckState.Builder fqdn(java.lang.String fqdn)
- Parameters:
fqdn- The fully qualified domain name of the endpoint to be checked. If a value is set for `ipAddress`, the value set for `fqdn` will be passed in the `Host` header.- Returns:
- builder
-
insufficientDataHealthStatus
public HealthCheckState.Builder insufficientDataHealthStatus(@Nullable com.pulumi.core.Output<java.lang.String> insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`.- Returns:
- builder
-
insufficientDataHealthStatus
public HealthCheckState.Builder insufficientDataHealthStatus(java.lang.String insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`.- Returns:
- builder
-
invertHealthcheck
public HealthCheckState.Builder invertHealthcheck(@Nullable com.pulumi.core.Output<java.lang.Boolean> invertHealthcheck)
- Parameters:
invertHealthcheck- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy.- Returns:
- builder
-
invertHealthcheck
public HealthCheckState.Builder invertHealthcheck(java.lang.Boolean invertHealthcheck)
- Parameters:
invertHealthcheck- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy.- Returns:
- builder
-
ipAddress
public HealthCheckState.Builder ipAddress(@Nullable com.pulumi.core.Output<java.lang.String> ipAddress)
- Parameters:
ipAddress- The IP address of the endpoint to be checked.- Returns:
- builder
-
ipAddress
public HealthCheckState.Builder ipAddress(java.lang.String ipAddress)
- Parameters:
ipAddress- The IP address of the endpoint to be checked.- Returns:
- builder
-
measureLatency
public HealthCheckState.Builder measureLatency(@Nullable com.pulumi.core.Output<java.lang.Boolean> measureLatency)
- Parameters:
measureLatency- A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console.- Returns:
- builder
-
measureLatency
public HealthCheckState.Builder measureLatency(java.lang.Boolean measureLatency)
- Parameters:
measureLatency- A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console.- Returns:
- builder
-
port
public HealthCheckState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port of the endpoint to be checked.- Returns:
- builder
-
port
public HealthCheckState.Builder port(java.lang.Integer port)
- Parameters:
port- The port of the endpoint to be checked.- Returns:
- builder
-
referenceName
public HealthCheckState.Builder referenceName(@Nullable com.pulumi.core.Output<java.lang.String> referenceName)
- Parameters:
referenceName- This is a reference name used in Caller Reference (helpful for identifying single healthCheck set amongst others)- Returns:
- builder
-
referenceName
public HealthCheckState.Builder referenceName(java.lang.String referenceName)
- Parameters:
referenceName- This is a reference name used in Caller Reference (helpful for identifying single healthCheck set amongst others)- Returns:
- builder
-
regions
public HealthCheckState.Builder regions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
regions
public HealthCheckState.Builder regions(java.util.List<java.lang.String> regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
regions
public HealthCheckState.Builder regions(java.lang.String... regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
requestInterval
public HealthCheckState.Builder requestInterval(@Nullable com.pulumi.core.Output<java.lang.Integer> requestInterval)
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.- Returns:
- builder
-
requestInterval
public HealthCheckState.Builder requestInterval(java.lang.Integer requestInterval)
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.- Returns:
- builder
-
resourcePath
public HealthCheckState.Builder resourcePath(@Nullable com.pulumi.core.Output<java.lang.String> resourcePath)
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks.- Returns:
- builder
-
resourcePath
public HealthCheckState.Builder resourcePath(java.lang.String resourcePath)
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks.- Returns:
- builder
-
routingControlArn
public HealthCheckState.Builder routingControlArn(@Nullable com.pulumi.core.Output<java.lang.String> routingControlArn)
- Parameters:
routingControlArn- ARN for the Route 53 Application Recovery Controller routing control. This is used when health check type is `RECOVERY_CONTROL`- Returns:
- builder
-
routingControlArn
public HealthCheckState.Builder routingControlArn(java.lang.String routingControlArn)
- Parameters:
routingControlArn- ARN for the Route 53 Application Recovery Controller routing control. This is used when health check type is `RECOVERY_CONTROL`- Returns:
- builder
-
searchString
public HealthCheckState.Builder searchString(@Nullable com.pulumi.core.Output<java.lang.String> searchString)
- Parameters:
searchString- String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`.- Returns:
- builder
-
searchString
public HealthCheckState.Builder searchString(java.lang.String searchString)
- Parameters:
searchString- String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`.- Returns:
- builder
-
tags
public HealthCheckState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the health check. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public HealthCheckState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the health check. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public HealthCheckState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public HealthCheckState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
triggers
public HealthCheckState.Builder triggers(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> triggers)
- Parameters:
triggers- Map of arbitrary keys and values that, when changed, will trigger an in-place update of the CloudWatch alarm arguments. Use this argument to synchronize the health check when an alarm is changed. See example above.- Returns:
- builder
-
triggers
public HealthCheckState.Builder triggers(java.util.Map<java.lang.String,java.lang.String> triggers)
- Parameters:
triggers- Map of arbitrary keys and values that, when changed, will trigger an in-place update of the CloudWatch alarm arguments. Use this argument to synchronize the health check when an alarm is changed. See example above.- Returns:
- builder
-
type
public HealthCheckState.Builder type(@Nullable com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED`, `CLOUDWATCH_METRIC` and `RECOVERY_CONTROL`.- Returns:
- builder
-
type
public HealthCheckState.Builder type(java.lang.String type)
- Parameters:
type- The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED`, `CLOUDWATCH_METRIC` and `RECOVERY_CONTROL`.- Returns:
- builder
-
build
public HealthCheckState build()
-
-