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 Object
implements SmithyBuilder<SmithyBuildResult>
Creates a SmithyBuildResult.
- 
Method SummaryModifier and TypeMethodDescriptionaddProjectionResult(ProjectionResult result) Adds a projection result to the builder.build()Creates an immutable object that is created from the properties that have been set on the builder.
- 
Method Details- 
buildDescription 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
 
- 
addProjectionResultAdds 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.
 
 
-