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