Class ProjectionConfig
- java.lang.Object
-
- software.amazon.smithy.build.model.ProjectionConfig
-
- All Implemented Interfaces:
ToSmithyBuilder<ProjectionConfig>
public final class ProjectionConfig extends java.lang.Object implements ToSmithyBuilder<ProjectionConfig>
ProjectionConfig stored in aSmithyBuildConfig
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectionConfig.Builder
Builds aProjectionConfig
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProjectionConfig.Builder
builder()
static ProjectionConfig
fromNode(Node node)
java.util.List<java.lang.String>
getImports()
Gets the imports configured for the projection.java.util.Map<java.lang.String,ObjectNode>
getPlugins()
java.util.List<TransformConfig>
getTransforms()
boolean
isAbstract()
ProjectionConfig.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Method Detail
-
builder
public static ProjectionConfig.Builder builder()
-
toBuilder
public ProjectionConfig.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<ProjectionConfig>
- Returns:
- a builder for type T
-
fromNode
public static ProjectionConfig fromNode(Node node)
-
getTransforms
public java.util.List<TransformConfig> getTransforms()
- Returns:
- Gets the immutable transforms in the projection.
-
getPlugins
public java.util.Map<java.lang.String,ObjectNode> getPlugins()
- Returns:
- Gets the immutable plugins of the projection.
-
isAbstract
public boolean isAbstract()
- Returns:
- Returns true if the projection is abstract.
-
getImports
public java.util.List<java.lang.String> getImports()
Gets the imports configured for the projection.- Returns:
- Returns the projection-specific imports.
-
-