Class AbstractTrait.Provider
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait.Provider
-
- All Implemented Interfaces:
TraitService
- Direct Known Subclasses:
AnnotationTrait.Provider
,ArnReferenceTrait.Provider
,ArnTrait.Provider
,AuthDefinitionTrait.Provider
,AuthorizersTrait.Provider
,AuthTrait.Provider
,AwsJson1_0Trait.Provider
,AwsJson1_1Trait.Provider
,AwsQueryErrorTrait.Provider
,CfnResourceTrait.Provider
,ClientContextParamsTrait.Provider
,ClientDiscoveredEndpointTrait.Provider
,ClientEndpointDiscoveryTrait.Provider
,CognitoUserPoolsTrait.Provider
,ContextParamTrait.Provider
,DefaultTrait.Provider
,DefineConditionKeysTrait.Provider
,DeprecatedTrait.Provider
,EndpointRuleSetTrait.Provider
,EndpointTestsTrait.Provider
,EndpointTrait.Provider
,EnumValueTrait.Provider
,HttpApiKeyAuthTrait.Provider
,HttpChecksumTrait.Provider
,HttpErrorTrait.Provider
,HttpMalformedRequestTestsTrait.Provider
,HttpRequestTestsTrait.Provider
,HttpResponseTestsTrait.Provider
,HttpTrait.Provider
,IamActionTrait.Provider
,IamResourceTrait.Provider
,IntegrationTrait.Provider
,MockIntegrationTrait.Provider
,OperationContextParamsTrait.Provider
,ProtocolDefinitionTrait.Provider
,RequestCompressionTrait.Provider
,RestJson1Trait.Provider
,RestXmlTrait.Provider
,Rpcv2CborTrait.Provider
,ServiceTrait.Provider
,SigV4ATrait.Provider
,SigV4Trait.Provider
,SmokeTestsTrait.Provider
,SpecificationExtensionTrait.Provider
,StandardPartitionalEndpointsTrait.Provider
,StandardRegionalEndpointsTrait.Provider
,StaticContextParamsTrait.Provider
,StringListTrait.Provider
,StringTrait.Provider
- Enclosing class:
- AbstractTrait
public abstract static class AbstractTrait.Provider extends java.lang.Object implements TraitService
Basic provider implementation that returns the name of the provided trait.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeId
getShapeId()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.TraitService
createTrait
-
-
-
-
Constructor Detail
-
Provider
public Provider(ShapeId id)
- Parameters:
id
- ID of the trait that the provider creates.
-
-
Method Detail
-
getShapeId
public ShapeId getShapeId()
- Specified by:
getShapeId
in interfaceTraitService
- Returns:
- Gets the shape ID of the trait that this provider created.
-
-