Class UnconfiguredBehavesLike.Builder
- java.lang.Object
-
- software.amazon.awscdk.cloudassembly.schema.UnconfiguredBehavesLike.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<UnconfiguredBehavesLike>
- Enclosing interface:
- UnconfiguredBehavesLike
@Stability(Stable) public static final class UnconfiguredBehavesLike.Builder extends Object implements software.amazon.jsii.Builder<UnconfiguredBehavesLike>
A builder forUnconfiguredBehavesLike
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnconfiguredBehavesLikebuild()Builds the configured instance.UnconfiguredBehavesLike.Builderv1(Object v1)Sets the value ofUnconfiguredBehavesLike.getV1()UnconfiguredBehavesLike.Builderv2(Object v2)Sets the value ofUnconfiguredBehavesLike.getV2()
-
-
-
Method Detail
-
v1
@Stability(Stable) public UnconfiguredBehavesLike.Builder v1(Object v1)
Sets the value ofUnconfiguredBehavesLike.getV1()- Parameters:
v1- Historical accident, don't use. This value may be present, but it should never be used. The actual value is in thev2field, regardless of the version of the CDK library.- Returns:
this
-
v2
@Stability(Stable) public UnconfiguredBehavesLike.Builder v2(Object v2)
Sets the value ofUnconfiguredBehavesLike.getV2()- Parameters:
v2- The value of the flag that produces the same behavior as when the flag is not configured at all. Even though it is called 'v2', this is the official name of this field. In any future versions of CDK (v3, v4, ...), this field will still be called 'v2'.The structure of this field is a historical accident. See the comment on
unconfiguredBehavesLikefor more information.- Returns:
this
-
build
@Stability(Stable) public UnconfiguredBehavesLike build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UnconfiguredBehavesLike>- Returns:
- a new instance of
UnconfiguredBehavesLike - Throws:
NullPointerException- if any required attribute was not provided
-
-