Class Partition.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder<Partition.Builder,Partition>
software.amazon.smithy.rulesengine.language.model.Partition.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Partition>
- Enclosing class:
- Partition
public static class Partition.Builder
extends SourceLocationTrackingBuilder<Partition.Builder,Partition>
-
Field Summary
Fields inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
sourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.outputs
(PartitionOutputs partitionOutputs) putRegion
(String name, RegionOverride regionOverride) regionRegex
(String regionRegex) regions
(Map<String, RegionOverride> regions) Methods inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
-
-
Method Details
-
id
-
regionRegex
-
regions
-
putRegion
-
outputs
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-