Class Partition
java.lang.Object
software.amazon.smithy.rulesengine.language.model.Partition
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToSmithyBuilder<Partition>
public final class Partition
extends Object
implements ToSmithyBuilder<Partition>, FromSourceLocation, ToNode
Describes an AWS partition, it's regions, and the outputs to be provided by the rule-set aws.partition function.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Partition.Builderbuilder()booleanstatic PartitionGets the source location of a value.inthashCode()id()regions()Take this object and create a builder that contains all of the current property values of this object.toNode()Converts a value to aNode.
-
Method Details
-
builder
-
fromNode
-
id
-
regionRegex
-
regions
-
getOutputs
-
getSourceLocation
Description copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
getSourceLocationin interfaceFromSourceLocation- Returns:
- Returns the source location of the value.
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<Partition>- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode() -
toNode
Description copied from interface:ToNodeConverts a value to aNode.
-