Class JsonValueTrait

java.lang.Object
software.amazon.awssdk.core.traits.JsonValueTrait
All Implemented Interfaces:
Trait

public final class JsonValueTrait extends Object implements Trait
Trait that indicates a String member is a JSON document. This can influence how it is marshalled/unmarshalled. For example, a string bound to the header with this trait applied will be Base64 encoded.
  • Method Details

    • create

      public static JsonValueTrait create()
    • type

      public TraitType type()
      Description copied from interface: Trait
      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.
      Specified by:
      type in interface Trait