public static final class ProjectionConfig.Builder extends java.lang.Object implements SmithyBuilder<ProjectionConfig>
ProjectionConfig
.Modifier and Type | Method and Description |
---|---|
ProjectionConfig |
build()
Builds the projection.
|
ProjectionConfig.Builder |
imports(java.util.Collection<java.lang.String> imports)
Replaces the imports of the projection.
|
ProjectionConfig.Builder |
plugins(java.util.Map<java.lang.String,ObjectNode> plugins)
Replaces the plugins of the projection.
|
ProjectionConfig.Builder |
setAbstract(boolean isAbstract)
Sets the
abstract property of the projection. |
ProjectionConfig.Builder |
transforms(java.util.Collection<TransformConfig> transforms)
Replaces the transforms of the projection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ProjectionConfig build()
build
in interface SmithyBuilder<ProjectionConfig>
public ProjectionConfig.Builder setAbstract(boolean isAbstract)
abstract
property of the projection.
Abstract projections do not directly create any artifacts.
isAbstract
- Set to true to mark as abstract.public ProjectionConfig.Builder imports(java.util.Collection<java.lang.String> imports)
imports
- Imports to set.public ProjectionConfig.Builder transforms(java.util.Collection<TransformConfig> transforms)
transforms
- Transform to set.public ProjectionConfig.Builder plugins(java.util.Map<java.lang.String,ObjectNode> plugins)
plugins
- Map of plugin name to plugin settings.