Class AuthTrait
java.lang.Object
software.amazon.awssdk.codegen.poet.auth.scheme.AuthTrait
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionauthType()
static AuthTrait.Builder
builder()
boolean
int
hashCode()
boolean
toString()
-
Method Details
-
builder
-
authType
-
isUnsignedPayload
public boolean isUnsignedPayload() -
equals
-
hashCode
-
toString
-