Class CfnService.AssertionDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.resiliencehubv2.CfnService.AssertionDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.AssertionDefinitionProperty>
- Enclosing interface:
CfnService.AssertionDefinitionProperty
@Stability(Stable)
public static final class CfnService.AssertionDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.AssertionDefinitionProperty>
A builder for
CfnService.AssertionDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.AssertionDefinitionProperty.getText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
text
Sets the value ofCfnService.AssertionDefinitionProperty.getText()- Parameters:
text- The text of the assertion. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.AssertionDefinitionProperty>- Returns:
- a new instance of
CfnService.AssertionDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-