Class PartitionOutputs
java.lang.Object
software.amazon.smithy.rulesengine.aws.language.functions.partition.PartitionOutputs
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToSmithyBuilder<PartitionOutputs>
public final class PartitionOutputs
extends Object
implements ToSmithyBuilder<PartitionOutputs>, FromSourceLocation, ToNode
The outputs to be provided by the rule-set aws.partition function.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionOutputs.Builder
builder()
Builder to create aPartitionOutputs
instance.boolean
static PartitionOutputs
Creates aPartitionOutputs
instance from the given Node information.Gets this partition's default DNS suffix.Gets this partition's dual stack DNS suffix.Gets this partition's implicit global region: the region that non-regionalized (global) services should use for signing.getName()
Gets this partition's name.Gets the source location of a value.int
hashCode()
boolean
Returns true if the partition supports dual stack.boolean
Returns true if the partition supports FIPS.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
Builder to create aPartitionOutputs
instance.- Returns:
- returns a new Builder.
-
fromNode
Creates aPartitionOutputs
instance from the given Node information.- Parameters:
node
- the node to deserialize.- Returns:
- the created PartitionOutputs.
-
getName
Gets this partition's name.- Returns:
- returns the partition's name.
-
getDnsSuffix
Gets this partition's default DNS suffix.- Returns:
- returns the DNS suffix.
-
getDualStackDnsSuffix
Gets this partition's dual stack DNS suffix.- Returns:
- returns the DNS suffix for dual stack endpoints.
-
supportsFips
public boolean supportsFips()Returns true if the partition supports FIPS.- Returns:
- returns true of FIPS is supported.
-
supportsDualStack
public boolean supportsDualStack()Returns true if the partition supports dual stack.- Returns:
- returns true of dual stack is supported.
-
getImplicitGlobalRegion
Gets this partition's implicit global region: the region that non-regionalized (global) services should use for signing.- Returns:
- returns the partition's implicit global region.
-
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.
-
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<PartitionOutputs>
- Returns:
- a builder for type T
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
equals
-
hashCode
public int hashCode()
-