Class ServiceResolvedConditionKeysTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.model.traits.StringListTrait
software.amazon.smithy.aws.iam.traits.ServiceResolvedConditionKeysTrait
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToShapeId,Trait,ToSmithyBuilder<ServiceResolvedConditionKeysTrait>
public final class ServiceResolvedConditionKeysTrait
extends StringListTrait
implements ToSmithyBuilder<ServiceResolvedConditionKeysTrait>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceResolvedConditionKeysTrait(List<String> conditionKeys) ServiceResolvedConditionKeysTrait(List<String> conditionKeys, FromSourceLocation sourceLocation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()resolveConditionKeys(ServiceShape service) Gets the fully resolved condition key names based on the service's ARN namespace.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.smithy.model.traits.StringListTrait
createNode, getValuesMethods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
-
-
Constructor Details
-
ServiceResolvedConditionKeysTrait
-
ServiceResolvedConditionKeysTrait
public ServiceResolvedConditionKeysTrait(List<String> conditionKeys, FromSourceLocation sourceLocation)
-
-
Method Details
-
resolveConditionKeys
Gets the fully resolved condition key names based on the service's ARN namespace.- Parameters:
service- The service to resolve no-prefix condition key names to.- Returns:
- the resolved condition key names.
-
builder
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<ServiceResolvedConditionKeysTrait>- Returns:
- a builder for type T
-