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