smithy.api.Trait
See theTrait companion object
final case class Trait(selector: Option[String], structurallyExclusive: Option[StructurallyExclusive], conflicts: Option[List[NonEmptyString]], breakingChanges: Option[List[TraitDiffRule]])
Makes a shape a trait.
Value parameters
- breakingChanges
-
Defines the backward compatibility rules of the trait.
- conflicts
-
The traits that this trait conflicts with.
- selector
-
The valid places in a model that the trait can be applied.
- structurallyExclusive
-
Whether or not only a single member in a shape can have this trait.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article