Package | Description |
---|---|
software.amazon.awssdk.core | |
software.amazon.awssdk.core.traits |
Modifier and Type | Method and Description |
---|---|
<T extends Trait> |
SdkField.getOptionalTrait(Class<T> clzz)
Gets the trait of the specified class if available.
|
<T extends Trait> |
SdkField.getTrait(Class<T> clzz)
Gets the trait of the specified class if available.
|
Modifier and Type | Method and Description |
---|---|
SdkField.Builder<TypeT> |
SdkField.Builder.traits(Trait... traits)
Attaches one or more traits to the
SdkField . |
Modifier and Type | Method and Description |
---|---|
boolean |
SdkField.containsTrait(Class<? extends Trait> clzz)
Checks if a given
Trait is present on the field. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValueTrait
Trait that supplies a default value when none is present for a given field.
|
class |
JsonValueTrait
Trait that indicates a String member is a JSON document.
|
class |
ListTrait
Trait that includes additional metadata about List members.
|
class |
LocationTrait
Trait to include metadata about the marshalling/unmarshalling location (i.e.
|
class |
MapTrait
Trait that includes additional metadata for Map members.
|
class |
PayloadTrait
Trait that indicates a member is the 'payload' member.
|
class |
TimestampFormatTrait
Trait that indicates a different format should be used for marshalling/unmarshalling timestamps.
|
Copyright © 2019. All rights reserved.