Uses of Interface
software.amazon.awssdk.core.traits.Trait
-
Packages that use Trait Package Description software.amazon.awssdk.core software.amazon.awssdk.core.traits -
-
Uses of Trait in software.amazon.awssdk.core
Methods in software.amazon.awssdk.core with type parameters of type Trait Modifier and Type Method Description <T extends Trait>
Optional<T>SdkField. getOptionalTrait(Class<T> clzz)Gets the trait of the specified class if available.<T extends Trait>
TSdkField. getRequiredTrait(Class<T> clzz)Gets the trait of the specified class, or throwIllegalStateExceptionif not available.<T extends Trait>
TSdkField. getTrait(Class<T> clzz)Gets the trait of the specified class if available.Methods in software.amazon.awssdk.core with parameters of type Trait Modifier and Type Method Description SdkField.Builder<TypeT>SdkField.Builder. traits(Trait... traits)Attaches one or more traits to theSdkField.Method parameters in software.amazon.awssdk.core with type arguments of type Trait Modifier and Type Method Description booleanSdkField. containsTrait(Class<? extends Trait> clzz)Checks if a givenTraitis present on the field. -
Uses of Trait in software.amazon.awssdk.core.traits
Classes in software.amazon.awssdk.core.traits that implement Trait Modifier and Type Class Description classDefaultValueTraitTrait that supplies a default value when none is present for a given field.classJsonValueTraitTrait that indicates a String member is a JSON document.classListTraitTrait that includes additional metadata about List members.classLocationTraitTrait to include metadata about the marshalling/unmarshalling location (i.e.classMapTraitTrait that includes additional metadata for Map members.classPayloadTraitTrait that indicates a member is the 'payload' member.classRequiredTraitTrait that indicates a value must be provided for a member.classTimestampFormatTraitTrait that indicates a different format should be used for marshalling/unmarshalling timestamps.classXmlAttributesTraitTrait to include the xml attributes such as "xmlns:xsi" or "xsi:type".classXmlAttributeTraitTrait to indicate this is an Xml attribute.
-