Class SmithyProjection.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.SmithyProjection.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SmithyProjection>
- Enclosing interface:
- SmithyProjection
@Stability(Experimental) public static final class SmithyProjection.Builder extends Object implements software.amazon.jsii.Builder<SmithyProjection>
A builder forSmithyProjection
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmithyProjection.BuilderabstractValue(Boolean abstractValue)Sets the value ofSmithyProjection.getAbstractValue()SmithyProjectionbuild()Builds the configured instance.SmithyProjection.Builderimports(List<String> imports)Sets the value ofSmithyCommon.getImports()SmithyProjection.Builderplugins(Map<String,? extends SmithyPlugin> plugins)Sets the value ofSmithyCommon.getPlugins()SmithyProjection.Buildertransforms(List<? extends SmithyTransform> transforms)Sets the value ofSmithyProjection.getTransforms()
-
-
-
Method Detail
-
abstractValue
@Stability(Experimental) public SmithyProjection.Builder abstractValue(Boolean abstractValue)
Sets the value ofSmithyProjection.getAbstractValue()- Parameters:
abstractValue- Whether or not the projection is abstract.- Returns:
this
-
transforms
@Stability(Experimental) public SmithyProjection.Builder transforms(List<? extends SmithyTransform> transforms)
Sets the value ofSmithyProjection.getTransforms()- Parameters:
transforms- Transforms to apply to the projection.- Returns:
this
-
imports
@Stability(Experimental) public SmithyProjection.Builder imports(List<String> imports)
Sets the value ofSmithyCommon.getImports()- Parameters:
imports- List of imports.- Returns:
this
-
plugins
@Stability(Experimental) public SmithyProjection.Builder plugins(Map<String,? extends SmithyPlugin> plugins)
Sets the value ofSmithyCommon.getPlugins()- Parameters:
plugins- Plugins keyed by plugin id.- Returns:
this
-
build
@Stability(Experimental) public SmithyProjection build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SmithyProjection>- Returns:
- a new instance of
SmithyProjection - Throws:
NullPointerException- if any required attribute was not provided
-
-