Class NoAuthTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • NoAuthTrait

        public NoAuthTrait()
    • Method Detail

      • isSynthetic

        public boolean isSynthetic()
        Description copied from interface: Trait
        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.

        Because 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.

        Returns:
        Returns true if the trait is not persisted on the shape.