Class ConstructInfo.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.cdkgraph.ConstructInfo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConstructInfo>
- Enclosing interface:
- ConstructInfo
@Stability(Experimental) public static final class ConstructInfo.Builder extends Object implements software.amazon.jsii.Builder<ConstructInfo>
A builder forConstructInfo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstructInfobuild()Builds the configured instance.ConstructInfo.Builderfqn(String fqn)Sets the value ofConstructInfo.getFqn()ConstructInfo.Builderversion(String version)Sets the value ofConstructInfo.getVersion()
-
-
-
Method Detail
-
fqn
@Stability(Experimental) public ConstructInfo.Builder fqn(String fqn)
Sets the value ofConstructInfo.getFqn()- Parameters:
fqn- the value to be set. This parameter is required.- Returns:
this
-
version
@Stability(Experimental) public ConstructInfo.Builder version(String version)
Sets the value ofConstructInfo.getVersion()- Parameters:
version- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public ConstructInfo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConstructInfo>- Returns:
- a new instance of
ConstructInfo - Throws:
NullPointerException- if any required attribute was not provided
-
-