Class CfnServicePropsMixin.HealthCheckCustomConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicediscovery.CfnServicePropsMixin.HealthCheckCustomConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.HealthCheckCustomConfigProperty>
- Enclosing interface:
CfnServicePropsMixin.HealthCheckCustomConfigProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.HealthCheckCustomConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.HealthCheckCustomConfigProperty>
A builder for
CfnServicePropsMixin.HealthCheckCustomConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureThreshold(Number failureThreshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureThreshold
@Stability(Stable) public CfnServicePropsMixin.HealthCheckCustomConfigProperty.Builder failureThreshold(Number failureThreshold) - Parameters:
failureThreshold-
AWS Cloud Map waits for approximately 30 seconds after receiving anThis parameter is no longer supported and is always set to 1.
UpdateInstanceCustomHealthStatusrequest before changing the status of the service instance.The number of 30-second intervals that you want AWS Cloud Map to wait after receiving an
UpdateInstanceCustomHealthStatusrequest before it changes the health status of a service instance.Sending a second or subsequent
UpdateInstanceCustomHealthStatusrequest with the same value before 30 seconds has passed doesn't accelerate the change. AWS Cloud Map still waits30seconds after the first request to make the change.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.HealthCheckCustomConfigProperty>- Returns:
- a new instance of
CfnServicePropsMixin.HealthCheckCustomConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-