Class UnconfiguredBehavesLike.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_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 for
UnconfiguredBehavesLike-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofUnconfiguredBehavesLike.getV1()Sets the value ofUnconfiguredBehavesLike.getV2()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
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
-