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 java.lang.Object implements ToSmithyBuilder<PartitionOutputs>, FromSourceLocation, ToNode
The outputs to be provided by the rule-set aws.partition function.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartitionOutputs.BuilderA builder used to create aPartitionclass.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartitionOutputs.Builderbuilder()Builder to create aPartitionOutputsinstance.booleanequals(java.lang.Object o)static PartitionOutputsfromNode(Node node)Creates aPartitionOutputsinstance from the given Node information.java.lang.StringgetDnsSuffix()Gets this partition's default DNS suffix.java.lang.StringgetDualStackDnsSuffix()Gets this partition's dual stack DNS suffix.java.lang.StringgetImplicitGlobalRegion()Gets this partition's implicit global region: the region that non-regionalized (global) services should use for signing.java.util.Optional<java.lang.String>getName()Gets this partition's name.SourceLocationgetSourceLocation()Gets the source location of a value.inthashCode()booleansupportsDualStack()Returns true if the partition supports dual stack.booleansupportsFips()Returns true if the partition supports FIPS.SmithyBuilder<PartitionOutputs>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
-
builder
public static PartitionOutputs.Builder builder()
Builder to create aPartitionOutputsinstance.- Returns:
- returns a new Builder.
-
fromNode
public static PartitionOutputs fromNode(Node node)
Creates aPartitionOutputsinstance from the given Node information.- Parameters:
node- the node to deserialize.- Returns:
- the created PartitionOutputs.
-
getName
public java.util.Optional<java.lang.String> getName()
Gets this partition's name.- Returns:
- returns the partition's name.
-
getDnsSuffix
public java.lang.String getDnsSuffix()
Gets this partition's default DNS suffix.- Returns:
- returns the DNS suffix.
-
getDualStackDnsSuffix
public java.lang.String 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
public java.lang.String 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
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.
-
toBuilder
public SmithyBuilder<PartitionOutputs> 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
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-