Class PartitionEndpointSpecialCase
- java.lang.Object
-
- software.amazon.smithy.rulesengine.aws.traits.PartitionEndpointSpecialCase
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToSmithyBuilder<PartitionEndpointSpecialCase>
public final class PartitionEndpointSpecialCase extends java.lang.Object implements FromSourceLocation, ToNode, ToSmithyBuilder<PartitionEndpointSpecialCase>
A special case that does not follow the services standard patterns or are located in a region other than the partition's default global region.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PartitionEndpointSpecialCase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartitionEndpointSpecialCase.Builder
builder()
static PartitionEndpointSpecialCase
fromNode(Node node)
Creates aPartitionEndpointSpecialCase
instance from the given Node information.java.lang.Boolean
getDualStack()
Gets the dualStack.java.lang.String
getEndpoint()
Gets the endpoint.java.lang.Boolean
getFips()
Gets the fips.java.lang.String
getRegion()
Gets the region.SourceLocation
getSourceLocation()
Gets the source location of a value.SmithyBuilder<PartitionEndpointSpecialCase>
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.Node
toNode()
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
-
getRegion
public java.lang.String getRegion()
Gets the region.- Returns:
- Returns the region
-
toBuilder
public SmithyBuilder<PartitionEndpointSpecialCase> 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<PartitionEndpointSpecialCase>
- Returns:
- a builder for type T
-
getSourceLocation
public SourceLocation 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.
-
fromNode
public static PartitionEndpointSpecialCase fromNode(Node node)
Creates aPartitionEndpointSpecialCase
instance from the given Node information.- Parameters:
node
- the node to deserialize.- Returns:
- Returns a PartitionEndpointSpecialCase
-
builder
public static PartitionEndpointSpecialCase.Builder builder()
-
-