Class AnnotationTrait
java.lang.Object
software.amazon.smithy.model.traits.AnnotationTrait
- All Implemented Interfaces:
 FromSourceLocation,ToNode,ToShapeId,Trait
- Direct Known Subclasses:
 AddedDefaultTrait,AwsQueryCompatibleTrait,AwsQueryTrait,BoxTrait,CfnAdditionalIdentifierTrait,CfnDefaultValueTrait,CfnExcludePropertyTrait,ClientEndpointDiscoveryIdTrait,ClientOptionalTrait,ControlPlaneTrait,DataPlaneTrait,DisableConditionKeyInferenceTrait,DualStackOnlyEndpointsTrait,Ec2QueryTrait,EndpointModifierTrait,EventHeaderTrait,EventPayloadTrait,HostLabelTrait,HttpBasicAuthTrait,HttpBearerAuthTrait,HttpChecksumRequiredTrait,HttpDigestAuthTrait,HttpLabelTrait,HttpPayloadTrait,HttpQueryParamsTrait,HttpResponseCodeTrait,IdempotencyTokenTrait,IdempotentTrait,InputTrait,InternalTrait,MqttJsonTrait,NestedPropertiesTrait,NoAuthTrait,NoReplaceTrait,NotPropertyTrait,OptionalAuthTrait,OutputTrait,PrivateTrait,ReadonlyTrait,RequiredTrait,RequiresLengthTrait,RuleBasedEndpointsTrait,S3UnwrappedXmlOutputTrait,SensitiveTrait,SparseTrait,StreamingTrait,TopicLabelTrait,UniqueItemsTrait,UnitTypeTrait,UnsignedPayloadTrait,UnstableTrait,XmlAttributeTrait,XmlFlattenedTrait
Trait implementation for traits that are an empty object.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAnnotationTrait.Provider<T extends AnnotationTrait>Trait provider that expects a boolean value of true. - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic 
- 
Constructor Details
- 
AnnotationTrait
 
 - 
 - 
Method Details
- 
toShapeId
Description copied from interface:TraitGets the shape ID of the trait. - 
toNode
Description copied from interface:ToNodeConverts a value to aNode. - 
getSourceLocation
Description copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
 getSourceLocationin interfaceFromSourceLocation- Returns:
 - Returns the source location of the value.
 
 - 
hashCode
public int hashCode() - 
equals
 
 -