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 java.lang.Object implements SmithyBuilder<TransformContext>
Builds aTransformContext
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransformContext
build()
Creates an immutable object that is created from the properties that have been set on the builder.TransformContext.Builder
model(Model model)
TransformContext.Builder
originalModel(Model originalModel)
TransformContext.Builder
originalModelValidationEvents(java.util.List<ValidationEvent> originalModelValidationEvents)
TransformContext.Builder
projectionName(java.lang.String projectionName)
TransformContext.Builder
settings(ObjectNode settings)
TransformContext.Builder
sources(java.util.Set<java.nio.file.Path> sources)
TransformContext.Builder
transformer(ModelTransformer transformer)
-
-
-
Method Detail
-
build
public TransformContext 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
public TransformContext.Builder settings(ObjectNode settings)
-
model
public TransformContext.Builder model(Model model)
-
originalModel
public TransformContext.Builder originalModel(Model originalModel)
-
sources
public TransformContext.Builder sources(java.util.Set<java.nio.file.Path> sources)
-
projectionName
public TransformContext.Builder projectionName(java.lang.String projectionName)
-
transformer
public TransformContext.Builder transformer(ModelTransformer transformer)
-
originalModelValidationEvents
public TransformContext.Builder originalModelValidationEvents(java.util.List<ValidationEvent> originalModelValidationEvents)
-
-