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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionOutputs.Builderbuilder()Builder to create aPartitionOutputsinstance.booleanstatic PartitionOutputsCreates aPartitionOutputsinstance 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.inthashCode()booleanReturns true if the partition supports dual stack.booleanReturns 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 aPartitionOutputsinstance.- Returns:
- returns a new Builder.
-
fromNode
Creates aPartitionOutputsinstance 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:FromSourceLocationGets the source location of a value.- Specified by:
getSourceLocationin interfaceFromSourceLocation- Returns:
- Returns the source location of the value.
-
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<PartitionOutputs>- Returns:
- a builder for type T
-
toNode
Description copied from interface:ToNodeConverts a value to aNode. -
equals
-
hashCode
public int hashCode()
-