public interface AuthSchemeOption extends ToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>
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.
AuthScheme| Modifier and Type | Interface and Description |
|---|---|
static interface |
AuthSchemeOption.Builder
A builder for a
AuthSchemeOption. |
static interface |
AuthSchemeOption.IdentityPropertyConsumer
Interface for operating on an
IdentityProperty value. |
static interface |
AuthSchemeOption.SignerPropertyConsumer
Interface for operating on an
SignerProperty value. |
| Modifier and Type | Method and Description |
|---|---|
static AuthSchemeOption.Builder |
builder()
Get a new builder for creating a
AuthSchemeOption. |
void |
forEachIdentityProperty(AuthSchemeOption.IdentityPropertyConsumer consumer)
A method to operate on all
IdentityProperty values of this AuthSchemeOption. |
void |
forEachSignerProperty(AuthSchemeOption.SignerPropertyConsumer consumer)
A method to operate on all
SignerProperty values of this AuthSchemeOption. |
<T> T |
identityProperty(IdentityProperty<T> property)
Retrieve the value of an
IdentityProperty. |
String |
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 an
SignerProperty. |
copy, toBuilderstatic AuthSchemeOption.Builder builder()
AuthSchemeOption.String schemeId()
<T> T identityProperty(IdentityProperty<T> property)
IdentityProperty.T - The type of the IdentityProperty.property - The IdentityProperty to retrieve the value of.<T> T signerProperty(SignerProperty<T> property)
SignerProperty.T - The type of the SignerProperty.property - The SignerProperty to retrieve the value of.void forEachIdentityProperty(AuthSchemeOption.IdentityPropertyConsumer consumer)
IdentityProperty values of this AuthSchemeOption.consumer - The method to apply to each IdentityProperty.void forEachSignerProperty(AuthSchemeOption.SignerPropertyConsumer consumer)
SignerProperty values of this AuthSchemeOption.consumer - The method to apply to each SignerProperty.Copyright © 2023. All rights reserved.