Class RegionOverride
java.lang.Object
software.amazon.smithy.rulesengine.language.model.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()
boolean
static RegionOverride
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
-
fromNode
-
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
-
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.
-
hashCode
public int hashCode() -
equals
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
.
-