Class AuthTrait

java.lang.Object
software.amazon.awssdk.codegen.poet.auth.scheme.AuthTrait

public final class AuthTrait extends Object
Represents an authentication option, encapsulating attributes such as the authentication type and whether the payload should be unsigned. This class provides a clean and immutable way to model these attributes as separate traits, as specified in the service models.

The primary purpose of this class is to hold authentication-related attributes, such as:

  • authType: Specifies the type of authentication to be used (e.g., SigV4, SigV4A etc).
  • unsignedPayload: Indicates whether the payload should be unsigned.