Class Partitions
java.lang.Object
software.amazon.smithy.rulesengine.aws.language.functions.partition.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 SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic Partitions.Builderbuilder()Builder to create aPartitionsinstance.booleanstatic PartitionsCreates aPartitionsinstance from the given Node information.Gets the list of loaded partitions.Gets the source location of a value.Gets the version of the partitions file.inthashCode()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()
- 
Method Details- 
builderBuilder to create aPartitionsinstance.- Returns:
- returns a new Builder.
 
- 
fromNodeCreates aPartitionsinstance from the given Node information.- Parameters:
- node- the node to deserialize.
- Returns:
- the created Partitions.
 
- 
getVersionGets the version of the partitions file.- Returns:
- returns the version of the partitions file.
 
- 
getPartitionsGets the list of loaded partitions.- Returns:
- returns the list of partitions.
 
- 
getSourceLocationDescription copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
- getSourceLocationin interface- FromSourceLocation
- Returns:
- Returns the source location of the value.
 
- 
toBuilderDescription copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<Partitions>
- Returns:
- a builder for type T
 
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-