Class Partitions
java.lang.Object
software.amazon.smithy.rulesengine.language.model.Partitions
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToSmithyBuilder<Partitions>
public final class Partitions
extends Object
implements ToSmithyBuilder<Partitions>, FromSourceLocation, ToNode
A model for defining the set of partitions that are used by the rule-set aws.partition function.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Partitions.Builder
builder()
boolean
static Partitions
Gets the source location of a value.int
hashCode()
Take this object and create a builder that contains all of the current property values of this object.toNode()
Converts a value to aNode
.toString()
version()
-
Method Details
-
fromNode
-
builder
-
hashCode
public int hashCode() -
equals
-
toString
-
version
-
partitions
-
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<Partitions>
- Returns:
- a builder for type T
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-