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 java.lang.Object implements ToSmithyBuilder<RegionOverride>, FromSourceLocation, ToNode
Provides a facility for overriding a partition's regions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegionOverride.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionOverride.Builderbuilder()Builder to create aRegionOverrideinstance.booleanequals(java.lang.Object obj)static RegionOverridefromNode(Node node)Creates aRegionOverrideinstance from the given Node information.SourceLocationgetSourceLocation()Gets the source location of a value.inthashCode()SmithyBuilder<RegionOverride>toBuilder()Take this object and create a builder that contains all of the current property values of this object.NodetoNode()Converts a value to aNode.
-
-
-
Method Detail
-
builder
public static RegionOverride.Builder builder()
Builder to create aRegionOverrideinstance.- Returns:
- returns a new Builder.
-
fromNode
public static RegionOverride fromNode(Node node)
Creates aRegionOverrideinstance from the given Node information.- Parameters:
node- the node to deserialize.- Returns:
- the created RegionOverride.
-
getSourceLocation
public SourceLocation 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
public SmithyBuilder<RegionOverride> 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
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-