Class ConditionKeyValueTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.model.traits.StringTrait
software.amazon.smithy.aws.iam.traits.ConditionKeyValueTrait
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConditionKeyValueTrait
(String conditionKey) ConditionKeyValueTrait
(String conditionKey, FromSourceLocation sourceLocation) -
Method Summary
Modifier and TypeMethodDescriptionresolveConditionKey
(ServiceShape service) Gets the fully resolved condition key based on the service's ARN namespace.Methods inherited from class software.amazon.smithy.model.traits.StringTrait
createNode, getValue
Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
-
-
Constructor Details
-
ConditionKeyValueTrait
-
ConditionKeyValueTrait
-
-
Method Details
-
resolveConditionKey
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.
-