Interface Trait

All Known Implementing Classes:
DataTypeConversionFailureHandlingTrait, DefaultValueTrait, JsonValueTrait, ListTrait, LocationTrait, MapTrait, PayloadTrait, RequiredTrait, TimestampFormatTrait, XmlAttributesTrait, XmlAttributeTrait

public interface Trait
Marker interface for traits that contain additional metadata about SdkFields.
  • Method Summary

    Modifier and Type
    Method
    Description
    default TraitType
    The known trait type.
  • Method Details

    • type

      default TraitType type()
      The known trait type. This is correctly implemented and uniquely mapped to the enum values which allow us to create enum maps for trait known trait types.