Class ConditionKeyValueTrait

All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class ConditionKeyValueTrait extends StringTrait
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • ConditionKeyValueTrait

      public ConditionKeyValueTrait(String conditionKey)
    • ConditionKeyValueTrait

      public ConditionKeyValueTrait(String conditionKey, FromSourceLocation sourceLocation)
  • Method Details

    • resolveConditionKey

      public String resolveConditionKey(ServiceShape service)
      Gets the fully resolved condition key based on the service's ARN namespace.
      Parameters:
      service - The service to resolve no-prefix condition key name to.
      Returns:
      the resolved condition key.