Package software.amazon.smithy.build
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 java.lang.Object implements SmithyBuilder<SmithyBuildResult> Creates a SmithyBuildResult.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SmithyBuildResult.BuilderaddProjectionResult(ProjectionResult result)Adds a projection result to the builder.SmithyBuildResultbuild()Creates an immutable object that is created from the properties that have been set on the builder.
 
- 
- 
- 
Method Detail- 
buildpublic SmithyBuildResult build() Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
- buildin interface- SmithyBuilder<SmithyBuildResult>
- Returns:
- an instance of T
 
 - 
addProjectionResultpublic 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.
 
 
- 
 
-