Class MapTrait

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

public final class MapTrait extends Object implements Trait
Trait that includes additional metadata for Map members.
  • Method Details

    • keyLocationName

      public String keyLocationName()
      Returns:
      Location name of key. Used only for XML based protocols.
    • valueLocationName

      public String valueLocationName()
      Returns:
      Location name of value. Used only for XML based protocols.
    • valueFieldInfo

      public SdkField valueFieldInfo()
      Returns:
      Additional metadata for the map value types. May be further nested in the case of complex containers.
    • isFlattened

      public boolean isFlattened()
      Returns:
      Whether the map should be marshalled/unmarshalled as a 'flattened' map. This only applies to Query/XML protocols.
    • builder

      public static MapTrait.Builder builder()