public final class NoAuthTrait extends AnnotationTrait
smithy.api#noAuth which indicates no authentication. This is not a real trait
in the semantic model, but a valid auth scheme for use in ServiceIndex.getEffectiveAuthSchemes(software.amazon.smithy.model.shapes.ToShapeId) with
ServiceIndex.AuthSchemeMode.NO_AUTH_AWARE.AnnotationTrait.Provider<T extends AnnotationTrait>| Constructor and Description |
|---|
NoAuthTrait() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSynthetic()
Checks if this trait is persisted with the shape, or if it is a
synthetic, or transient trait, only meant to temporarily aid in
some kind of in-memory model transformation.
|
equals, getSourceLocation, hashCode, toNode, toShapeIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, makeAbsoluteName, makeAbsoluteNamecomparepublic static final ShapeId ID
public boolean isSynthetic()
TraitBecause synthetic traits are not persisted with shapes, they also do not need to be defined in Smithy's semantic model before they can be used in the model.