Class CfnPlan.Route53HealthCheckConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.Route53HealthCheckConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.Route53HealthCheckConfigurationProperty>
- Enclosing interface:
CfnPlan.Route53HealthCheckConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.Route53HealthCheckConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.Route53HealthCheckConfigurationProperty>
A builder for
CfnPlan.Route53HealthCheckConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossAccountRole(String crossAccountRole) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getCrossAccountRole()externalId(String externalId) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getExternalId()hostedZoneId(String hostedZoneId) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getHostedZoneId()recordName(String recordName) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordName()recordSets(List<? extends Object> recordSets) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordSets()recordSets(IResolvable recordSets) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordSets()timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getTimeoutMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostedZoneId
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder hostedZoneId(String hostedZoneId) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getHostedZoneId()- Parameters:
hostedZoneId- The Amazon Route 53 health check configuration hosted zone ID. This parameter is required.- Returns:
this
-
recordName
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder recordName(String recordName) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordName()- Parameters:
recordName- The Amazon Route 53 health check configuration record name. This parameter is required.- Returns:
this
-
crossAccountRole
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder crossAccountRole(String crossAccountRole) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getCrossAccountRole()- Parameters:
crossAccountRole- The cross account role for the configuration.- Returns:
this
-
externalId
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder externalId(String externalId) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getExternalId()- Parameters:
externalId- The external ID (secret key) for the configuration.- Returns:
this
-
recordSets
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder recordSets(IResolvable recordSets) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordSets()- Parameters:
recordSets- The Amazon Route 53 health check configuration record sets.- Returns:
this
-
recordSets
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder recordSets(List<? extends Object> recordSets) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getRecordSets()- Parameters:
recordSets- The Amazon Route 53 health check configuration record sets.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlan.Route53HealthCheckConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.Route53HealthCheckConfigurationProperty.getTimeoutMinutes()- Parameters:
timeoutMinutes- The Amazon Route 53 health check configuration time out (in minutes).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.Route53HealthCheckConfigurationProperty>- Returns:
- a new instance of
CfnPlan.Route53HealthCheckConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-