Package software.amazon.smithy.build
Class TransformContext.Builder
java.lang.Object
software.amazon.smithy.build.TransformContext.Builder
- All Implemented Interfaces:
SmithyBuilder<TransformContext>
- Enclosing class:
- TransformContext
public static final class TransformContext.Builder
extends Object
implements SmithyBuilder<TransformContext>
Builds a
TransformContext
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.originalModel
(Model originalModel) originalModelValidationEvents
(List<ValidationEvent> originalModelValidationEvents) projectionName
(String projectionName) settings
(ObjectNode settings) transformer
(ModelTransformer transformer)
-
Method Details
-
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 interfaceSmithyBuilder<TransformContext>
- Returns:
- an instance of T
-
settings
-
model
-
originalModel
-
sources
-
projectionName
-
transformer
-
originalModelValidationEvents
public TransformContext.Builder originalModelValidationEvents(List<ValidationEvent> originalModelValidationEvents)
-