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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthTrait.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthTypeauthType()static AuthTrait.Builderbuilder()booleanequals(Object o)inthashCode()booleanisUnsignedPayload()StringtoString()
-
-
-
Method Detail
-
builder
public static AuthTrait.Builder builder()
-
authType
public AuthType authType()
-
isUnsignedPayload
public boolean isUnsignedPayload()
-
-