Class SmithyBuildResult.Builder

java.lang.Object
software.amazon.smithy.build.SmithyBuildResult.Builder
All Implemented Interfaces:
SmithyBuilder<SmithyBuildResult>
Enclosing class:
SmithyBuildResult

public static final class SmithyBuildResult.Builder extends Object implements SmithyBuilder<SmithyBuildResult>
Creates a SmithyBuildResult.
  • Method Details

    • build

      public SmithyBuildResult build()
      Description copied from interface: SmithyBuilder
      Creates an immutable object that is created from the properties that have been set on the builder.
      Specified by:
      build in interface SmithyBuilder<SmithyBuildResult>
      Returns:
      an instance of T
    • addProjectionResult

      public SmithyBuildResult.Builder addProjectionResult(ProjectionResult result)
      Adds a projection result to the builder.

      This method is thread-safe as a synchronized list is updated each time this is called.

      Parameters:
      result - Result to add.
      Returns:
      Returns the builder.