Class PartitionSpecialCase
java.lang.Object
software.amazon.smithy.rulesengine.aws.traits.PartitionSpecialCase
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToSmithyBuilder<PartitionSpecialCase>
public final class PartitionSpecialCase
extends Object
implements FromSourceLocation, ToNode, ToSmithyBuilder<PartitionSpecialCase>
A special case where endpoints for a partition that do not follow the standard patterns.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionSpecialCase.Builderbuilder()static PartitionSpecialCaseCreates aPartitionSpecialCaseinstance from the given Node information.Gets the dualStack.Gets the endpoint.getFips()Gets the fips.Gets the source location of a value.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
-
getEndpoint
Gets the endpoint.- Returns:
- Returns the endpoint
-
getDualStack
Gets the dualStack.- Returns:
- Returns the dualStack
-
getFips
Gets the fips.- Returns:
- Returns the fips
-
toNode
Description copied from interface:ToNodeConverts a value to aNode. -
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<PartitionSpecialCase>- Returns:
- a builder for type T
-
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
Creates aPartitionSpecialCaseinstance from the given Node information.- Parameters:
node- the node to deserialize.- Returns:
- Returns a PartitionSpecialCase
-
builder
-