Class CfnReadinessCheckProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheckProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReadinessCheckProps>
- Enclosing interface:
- CfnReadinessCheckProps
@Stability(Stable)
public static final class CfnReadinessCheckProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReadinessCheckProps>
A builder for
CfnReadinessCheckProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.readinessCheckName
(String readinessCheckName) Sets the value ofCfnReadinessCheckProps.getReadinessCheckName()
resourceSetName
(String resourceSetName) Sets the value ofCfnReadinessCheckProps.getResourceSetName()
Sets the value ofCfnReadinessCheckProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readinessCheckName
@Stability(Stable) public CfnReadinessCheckProps.Builder readinessCheckName(String readinessCheckName) Sets the value ofCfnReadinessCheckProps.getReadinessCheckName()
- Parameters:
readinessCheckName
- The name of the readiness check to create.- Returns:
this
-
resourceSetName
Sets the value ofCfnReadinessCheckProps.getResourceSetName()
- Parameters:
resourceSetName
- The name of the resource set to check.- Returns:
this
-
tags
Sets the value ofCfnReadinessCheckProps.getTags()
- Parameters:
tags
- A collection of tags associated with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReadinessCheckProps>
- Returns:
- a new instance of
CfnReadinessCheckProps
- Throws:
NullPointerException
- if any required attribute was not provided
-