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
-
Method Summary
Modifier and TypeMethodDescriptionstatic RegionOverride.Builder
builder()
Builder to create aRegionOverride
instance.boolean
static RegionOverride
Creates aRegionOverride
instance from the given Node information.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
.
-
Method Details
-
builder
Builder to create aRegionOverride
instance.- Returns:
- returns a new Builder.
-
fromNode
Creates aRegionOverride
instance from the given Node information.- Parameters:
node
- the node to deserialize.- Returns:
- the created RegionOverride.
-
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<RegionOverride>
- Returns:
- a builder for type T
-
equals
-
hashCode
public int hashCode() -
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-