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.
  • Method Details

    • builder

      public static PartitionOutputs.Builder builder()
      Builder to create a PartitionOutputs instance.
      Returns:
      returns a new Builder.
    • fromNode

      public static PartitionOutputs fromNode(Node node)
      Creates a PartitionOutputs instance from the given Node information.
      Parameters:
      node - the node to deserialize.
      Returns:
      the created PartitionOutputs.
    • getName

      public Optional<String> getName()
      Gets this partition's name.
      Returns:
      returns the partition's name.
    • getDnsSuffix

      public String getDnsSuffix()
      Gets this partition's default DNS suffix.
      Returns:
      returns the DNS suffix.
    • getDualStackDnsSuffix

      public 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 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: FromSourceLocation
      Gets the source location of a value.
      Specified by:
      getSourceLocation in interface FromSourceLocation
      Returns:
      Returns the source location of the value.
    • toBuilder

      public SmithyBuilder<PartitionOutputs> 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 interface ToSmithyBuilder<PartitionOutputs>
      Returns:
      a builder for type T
    • toNode

      public Node toNode()
      Description copied from interface: ToNode
      Converts a value to a Node.
      Specified by:
      toNode in interface ToNode
      Returns:
      Returns the creates Node.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object