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 SummaryModifier 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- 
buildBuilds the projection.- Specified by:
- buildin interface- SmithyBuilder<ProjectionConfig>
- Returns:
- Returns the created projection.
 
- 
setAbstractSets 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.
 
- 
importsReplaces the imports of the projection.- Parameters:
- imports- Imports to set.
- Returns:
- Returns the builder.
 
- 
transformsReplaces the transforms of the projection.- Parameters:
- transforms- Transform to set.
- Returns:
- Returns the builder.
 
- 
pluginsReplaces the plugins of the projection.- Parameters:
- plugins- Map of plugin name to plugin settings.
- Returns:
- Returns the builder.
 
 
-