Class ProjectionConfig.Builder
java.lang.Object
software.amazon.smithy.build.model.ProjectionConfig.Builder
- All Implemented Interfaces:
SmithyBuilder<ProjectionConfig>
- Enclosing class:
- ProjectionConfig
public static final class ProjectionConfig.Builder
extends Object
implements SmithyBuilder<ProjectionConfig>
Builds a
ProjectionConfig.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the projection.imports(Collection<String> imports) Replaces the imports of the projection.plugins(Map<String, ObjectNode> plugins) Replaces the plugins of the projection.setAbstract(boolean isAbstract) Sets theabstractproperty of the projection.transforms(Collection<TransformConfig> transforms) Replaces the transforms of the projection.
-
Method Details
-
build
Builds the projection.- Specified by:
buildin interfaceSmithyBuilder<ProjectionConfig>- Returns:
- Returns the created projection.
-
setAbstract
Sets theabstractproperty of the projection.Abstract projections do not directly create any artifacts.
- Parameters:
isAbstract- Set to true to mark as abstract.- Returns:
- Returns the builder.
-
imports
Replaces the imports of the projection.- Parameters:
imports- Imports to set.- Returns:
- Returns the builder.
-
transforms
Replaces the transforms of the projection.- Parameters:
transforms- Transform to set.- Returns:
- Returns the builder.
-
plugins
Replaces the plugins of the projection.- Parameters:
plugins- Map of plugin name to plugin settings.- Returns:
- Returns the builder.
-