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>
  • Method Details

    • build

      public ProjectionConfig build()
      Builds the projection.
      Specified by:
      build in interface SmithyBuilder<ProjectionConfig>
      Returns:
      Returns the created projection.
    • setAbstract

      public ProjectionConfig.Builder setAbstract(boolean isAbstract)
      Sets the abstract property 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

      public ProjectionConfig.Builder imports(Collection<String> imports)
      Replaces the imports of the projection.
      Parameters:
      imports - Imports to set.
      Returns:
      Returns the builder.
    • transforms

      public ProjectionConfig.Builder transforms(Collection<TransformConfig> transforms)
      Replaces the transforms of the projection.
      Parameters:
      transforms - Transform to set.
      Returns:
      Returns the builder.
    • plugins

      public ProjectionConfig.Builder plugins(Map<String,ObjectNode> plugins)
      Replaces the plugins of the projection.
      Parameters:
      plugins - Map of plugin name to plugin settings.
      Returns:
      Returns the builder.