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
,Ec2QueryTrait
,EventHeaderTrait
,EventPayloadTrait
,HostLabelTrait
,HttpBasicAuthTrait
,HttpBearerAuthTrait
,HttpChecksumRequiredTrait
,HttpDigestAuthTrait
,HttpLabelTrait
,HttpPayloadTrait
,HttpQueryParamsTrait
,HttpResponseCodeTrait
,IdempotencyTokenTrait
,IdempotentTrait
,InputTrait
,InternalTrait
,MqttJsonTrait
,NestedPropertiesTrait
,NoReplaceTrait
,NotPropertyTrait
,OptionalAuthTrait
,OutputTrait
,PrivateTrait
,ReadonlyTrait
,RequiredTrait
,RequiresLengthTrait
,S3UnwrappedXmlOutputTrait
,SensitiveTrait
,SparseTrait
,StreamingTrait
,TopicLabelTrait
,UniqueItemsTrait
,UnitTypeTrait
,UnsignedPayloadTrait
,UnstableTrait
,XmlAttributeTrait
,XmlFlattenedTrait
Trait implementation for traits that are an empty object.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AnnotationTrait.Provider<T extends AnnotationTrait>
Trait provider that expects a boolean value of true. -
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Constructor Details
-
AnnotationTrait
-
-
Method Details
-
toShapeId
Description copied from interface:Trait
Gets the shape ID of the trait. -
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
getSourceLocation
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
hashCode
public int hashCode() -
equals
-