Class RegionSpecialCase
- java.lang.Object
-
- software.amazon.smithy.rulesengine.aws.traits.RegionSpecialCase
-
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToSmithyBuilder<RegionSpecialCase>
public final class RegionSpecialCase extends java.lang.Object implements FromSourceLocation, ToNode, ToSmithyBuilder<RegionSpecialCase>
A special case where endpoints for a region that do not follow the standard patterns.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegionSpecialCase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionSpecialCase.Builderbuilder()static RegionSpecialCasefromNode(Node node)Creates aRegionSpecialCaseinstance from the given Node information.java.lang.BooleangetDualStack()Gets the dualStack.java.lang.StringgetEndpoint()Gets the endpoint.java.lang.BooleangetFips()Gets the fips.java.lang.StringgetSigningRegion()Gets the signing region.SourceLocationgetSourceLocation()Gets the source location of a value.SmithyBuilder<RegionSpecialCase>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
-
getEndpoint
public java.lang.String getEndpoint()
Gets the endpoint.- Returns:
- Returns the endpoint
-
getDualStack
public java.lang.Boolean getDualStack()
Gets the dualStack.- Returns:
- Returns the dualStack
-
getFips
public java.lang.Boolean getFips()
Gets the fips.- Returns:
- Returns the fips
-
getSigningRegion
public java.lang.String getSigningRegion()
Gets the signing region.- Returns:
- Returns the signing region
-
toBuilder
public SmithyBuilder<RegionSpecialCase> 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<RegionSpecialCase>- Returns:
- a builder for type T
-
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.
-
fromNode
public static RegionSpecialCase fromNode(Node node)
Creates aRegionSpecialCaseinstance from the given Node information.- Parameters:
node- the node to deserialize.- Returns:
- Returns a RegionSpecialCase
-
builder
public static RegionSpecialCase.Builder builder()
-
-