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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Partition.Builder
builder()
boolean
static Partition
Gets the source location of a value.int
hashCode()
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:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
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<Partition>
- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode() -
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-