Class CfnPlan.HealthCheckStateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.HealthCheckStateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.HealthCheckStateProperty>
- Enclosing interface:
CfnPlan.HealthCheckStateProperty
@Stability(Stable)
public static final class CfnPlan.HealthCheckStateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.HealthCheckStateProperty>
A builder for
CfnPlan.HealthCheckStateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.healthCheckId(String healthCheckId) Sets the value ofCfnPlan.HealthCheckStateProperty.getHealthCheckId()Sets the value ofCfnPlan.HealthCheckStateProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthCheckId
@Stability(Stable) public CfnPlan.HealthCheckStateProperty.Builder healthCheckId(String healthCheckId) Sets the value ofCfnPlan.HealthCheckStateProperty.getHealthCheckId()- Parameters:
healthCheckId- the value to be set.- Returns:
this
-
region
Sets the value ofCfnPlan.HealthCheckStateProperty.getRegion()- Parameters:
region- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.HealthCheckStateProperty>- Returns:
- a new instance of
CfnPlan.HealthCheckStateProperty - Throws:
NullPointerException- if any required attribute was not provided
-