Class RegionSpecialCase

java.lang.Object
software.amazon.smithy.rulesengine.aws.traits.RegionSpecialCase
All Implemented Interfaces:
FromSourceLocation, ToNode, ToSmithyBuilder<RegionSpecialCase>

public final class RegionSpecialCase extends Object implements FromSourceLocation, ToNode, ToSmithyBuilder<RegionSpecialCase>
A special case where endpoints for a region that do not follow the standard patterns.
  • Method Details

    • getEndpoint

      public String getEndpoint()
      Gets the endpoint.
      Returns:
      Returns the endpoint
    • getDualStack

      public Boolean getDualStack()
      Gets the dualStack.
      Returns:
      Returns the dualStack
    • getFips

      public Boolean getFips()
      Gets the fips.
      Returns:
      Returns the fips
    • getSigningRegion

      public String getSigningRegion()
      Gets the signing region.
      Returns:
      Returns the signing region
    • 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.
    • toBuilder

      public SmithyBuilder<RegionSpecialCase> 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<RegionSpecialCase>
      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 interface FromSourceLocation
      Returns:
      Returns the source location of the value.
    • fromNode

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

      public static RegionSpecialCase.Builder builder()