Class CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rtbfabric.CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponderGatewayPropsMixin.HealthCheckConfigProperty>
- Enclosing interface:
CfnResponderGatewayPropsMixin.HealthCheckConfigProperty
@Stability(Stable)
public static final class CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponderGatewayPropsMixin.HealthCheckConfigProperty>
A builder for
CfnResponderGatewayPropsMixin.HealthCheckConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.healthyThresholdCount(Number healthyThresholdCount) intervalSeconds(Number intervalSeconds) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getPath()Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getPort()Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getProtocol()statusCodeMatcher(String statusCodeMatcher) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getTimeoutMs()unhealthyThresholdCount(Number unhealthyThresholdCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthyThresholdCount
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder healthyThresholdCount(Number healthyThresholdCount) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getHealthyThresholdCount()- Parameters:
healthyThresholdCount- the value to be set.- Returns:
this
-
intervalSeconds
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder intervalSeconds(Number intervalSeconds) - Parameters:
intervalSeconds- the value to be set.- Returns:
this
-
path
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder path(String path) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getPath()- Parameters:
path- the value to be set.- Returns:
this
-
port
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder port(Number port) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getPort()- Parameters:
port- the value to be set.- Returns:
this
-
protocol
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder protocol(String protocol) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getProtocol()- Parameters:
protocol- the value to be set.- Returns:
this
-
statusCodeMatcher
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder statusCodeMatcher(String statusCodeMatcher) - Parameters:
statusCodeMatcher- the value to be set.- Returns:
this
-
timeoutMs
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder timeoutMs(Number timeoutMs) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getTimeoutMs()- Parameters:
timeoutMs- the value to be set.- Returns:
this
-
unhealthyThresholdCount
@Stability(Stable) public CfnResponderGatewayPropsMixin.HealthCheckConfigProperty.Builder unhealthyThresholdCount(Number unhealthyThresholdCount) Sets the value ofCfnResponderGatewayPropsMixin.HealthCheckConfigProperty.getUnhealthyThresholdCount()- Parameters:
unhealthyThresholdCount- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResponderGatewayPropsMixin.HealthCheckConfigProperty>- Returns:
- a new instance of
CfnResponderGatewayPropsMixin.HealthCheckConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-