Class AwsPartition

    • Field Detail

      • DNS_SUFFIX

        public static final Identifier DNS_SUFFIX
      • DUAL_STACK_DNS_SUFFIX

        public static final Identifier DUAL_STACK_DNS_SUFFIX
      • SUPPORTS_FIPS

        public static final Identifier SUPPORTS_FIPS
      • SUPPORTS_DUAL_STACK

        public static final Identifier SUPPORTS_DUAL_STACK
      • IMPLICIT_GLOBAL_REGION

        public static final Identifier IMPLICIT_GLOBAL_REGION
      • INFERRED

        public static final Identifier INFERRED
    • Method Detail

      • overridePartitions

        public static void overridePartitions​(Partitions partitions)
        Overrides the partitions provided by default.
        Parameters:
        partitions - A list of partitions to set.
      • ofExpressions

        public static AwsPartition ofExpressions​(ToExpression arg1)
        Creates a AwsPartition function from the given expressions.
        Parameters:
        arg1 - the region to retrieve partition information from.
        Returns:
        The resulting AwsPartition function.
      • accept

        public <T> T accept​(ExpressionVisitor<T> visitor)
        Description copied from class: Expression
        Invoke the ExpressionVisitor functions for this expression.
        Specified by:
        accept in class Expression
        Type Parameters:
        T - the visitor return type.
        Parameters:
        visitor - the visitor to be invoked.
        Returns:
        the return value of the visitor.