Class RegionOverride
java.lang.Object
software.amazon.smithy.rulesengine.aws.language.functions.partition.RegionOverride
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToSmithyBuilder<RegionOverride>
public final class RegionOverride
extends Object
implements ToSmithyBuilder<RegionOverride>, FromSourceLocation, ToNode
Provides a facility for overriding a partition's regions.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RegionOverride.Builderbuilder()Builder to create aRegionOverrideinstance.booleanstatic RegionOverrideCreates aRegionOverrideinstance from the given Node information.Gets the source location of a value.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.
-
Method Details
-
builder
Builder to create aRegionOverrideinstance.- Returns:
- returns a new Builder.
-
fromNode
Creates aRegionOverrideinstance from the given Node information.- Parameters:
node- the node to deserialize.- Returns:
- the created RegionOverride.
-
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<RegionOverride>- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode() -
toNode
Description copied from interface:ToNodeConverts a value to aNode.
-