Interface AuthSchemeOption
- All Superinterfaces:
ToCopyableBuilder<AuthSchemeOption.Builder,
AuthSchemeOption>
- All Known Implementing Classes:
DefaultAuthSchemeOption
public interface AuthSchemeOption
extends ToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>
An authentication scheme option, composed of the scheme ID and properties for use when resolving the identity and signing
the request.
This is used in the output from the auth scheme resolver. The resolver returns a list of these, in the order the auth scheme resolver wishes to use them.
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A builder for aAuthSchemeOption
.static interface
Interface for operating on anIdentityProperty
value.static interface
Interface for operating on anSignerProperty
value. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthSchemeOption.Builder
builder()
Get a new builder for creating aAuthSchemeOption
.void
A method to operate on allIdentityProperty
values of this AuthSchemeOption.void
A method to operate on allSignerProperty
values of this AuthSchemeOption.<T> T
identityProperty
(IdentityProperty<T> property) Retrieve the value of anIdentityProperty
.schemeId()
Retrieve the scheme ID, a unique identifier for the authentication scheme (aws.auth#sigv4, smithy.api#httpBearerAuth).<T> T
signerProperty
(SignerProperty<T> property) Retrieve the value of anSignerProperty
.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy, toBuilder
-
Method Details
-
builder
Get a new builder for creating aAuthSchemeOption
. -
schemeId
String schemeId()Retrieve the scheme ID, a unique identifier for the authentication scheme (aws.auth#sigv4, smithy.api#httpBearerAuth). -
identityProperty
Retrieve the value of anIdentityProperty
.- Type Parameters:
T
- The type of the IdentityProperty.- Parameters:
property
- The IdentityProperty to retrieve the value of.
-
signerProperty
Retrieve the value of anSignerProperty
.- Type Parameters:
T
- The type of the SignerProperty.- Parameters:
property
- The SignerProperty to retrieve the value of.
-
forEachIdentityProperty
A method to operate on allIdentityProperty
values of this AuthSchemeOption.- Parameters:
consumer
- The method to apply to each IdentityProperty.
-
forEachSignerProperty
A method to operate on allSignerProperty
values of this AuthSchemeOption.- Parameters:
consumer
- The method to apply to each SignerProperty.
-