Class AppEngineFlexibleAppVersionLivenessCheck.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.app_engine_flexible_app_version.AppEngineFlexibleAppVersionLivenessCheck.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AppEngineFlexibleAppVersionLivenessCheck>
- Enclosing interface:
- AppEngineFlexibleAppVersionLivenessCheck
@Stability(Stable) public static final class AppEngineFlexibleAppVersionLivenessCheck.Builder extends Object implements software.amazon.jsii.Builder<AppEngineFlexibleAppVersionLivenessCheck>
A builder forAppEngineFlexibleAppVersionLivenessCheck
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
path
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder path(String path)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getPath()- Parameters:
path- The request path. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#path AppEngineFlexibleAppVersion#path}- Returns:
this
-
checkInterval
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder checkInterval(String checkInterval)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getCheckInterval()- Parameters:
checkInterval- Interval between health checks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#check_interval AppEngineFlexibleAppVersion#check_interval}- Returns:
this
-
failureThreshold
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder failureThreshold(Number failureThreshold)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getFailureThreshold()- Parameters:
failureThreshold- Number of consecutive failed checks required before considering the VM unhealthy. Default: 4. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#failure_threshold AppEngineFlexibleAppVersion#failure_threshold}- Returns:
this
-
host
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder host(String host)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getHost()- Parameters:
host- Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#host AppEngineFlexibleAppVersion#host}- Returns:
this
-
initialDelay
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder initialDelay(String initialDelay)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getInitialDelay()- Parameters:
initialDelay- The initial delay before starting to execute the checks. Default: "300s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#initial_delay AppEngineFlexibleAppVersion#initial_delay}- Returns:
this
-
successThreshold
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder successThreshold(Number successThreshold)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getSuccessThreshold()- Parameters:
successThreshold- Number of consecutive successful checks required before considering the VM healthy. Default: 2. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#success_threshold AppEngineFlexibleAppVersion#success_threshold}- Returns:
this
-
timeout
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck.Builder timeout(String timeout)
Sets the value ofAppEngineFlexibleAppVersionLivenessCheck.getTimeout()- Parameters:
timeout- Time before the check is considered failed. Default: "4s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/app_engine_flexible_app_version#timeout AppEngineFlexibleAppVersion#timeout}- Returns:
this
-
build
@Stability(Stable) public AppEngineFlexibleAppVersionLivenessCheck build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AppEngineFlexibleAppVersionLivenessCheck>- Returns:
- a new instance of
AppEngineFlexibleAppVersionLivenessCheck - Throws:
NullPointerException- if any required attribute was not provided
-
-