Class Partition.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.RulesComponentBuilder<Partition.Builder,Partition>
software.amazon.smithy.rulesengine.aws.language.functions.partition.Partition.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Partition>
- Enclosing class:
- Partition
A builder used to create a
Partition
class.-
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 outputs) putRegion
(String name, RegionOverride regionOverride) regionRegex
(String regionRegex) regions
(Map<String, RegionOverride> regions) Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, 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
-