@Immutable public final class DefaultAuthSchemeOption extends Object implements AuthSchemeOption
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultAuthSchemeOption.BuilderImpl |
AuthSchemeOption.Builder, AuthSchemeOption.IdentityPropertyConsumer, AuthSchemeOption.SignerPropertyConsumer| 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. |
AuthSchemeOption.Builder |
toBuilder() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic static AuthSchemeOption.Builder builder()
AuthSchemeOptionAuthSchemeOption.builder in interface AuthSchemeOptionpublic String schemeId()
AuthSchemeOptionschemeId in interface AuthSchemeOptionpublic <T> T identityProperty(IdentityProperty<T> property)
AuthSchemeOptionIdentityProperty.identityProperty in interface AuthSchemeOptionT - The type of the IdentityProperty.property - The IdentityProperty to retrieve the value of.public <T> T signerProperty(SignerProperty<T> property)
AuthSchemeOptionSignerProperty.signerProperty in interface AuthSchemeOptionT - The type of the SignerProperty.property - The SignerProperty to retrieve the value of.public void forEachIdentityProperty(AuthSchemeOption.IdentityPropertyConsumer consumer)
AuthSchemeOptionIdentityProperty values of this AuthSchemeOption.forEachIdentityProperty in interface AuthSchemeOptionconsumer - The method to apply to each IdentityProperty.public void forEachSignerProperty(AuthSchemeOption.SignerPropertyConsumer consumer)
AuthSchemeOptionSignerProperty values of this AuthSchemeOption.forEachSignerProperty in interface AuthSchemeOptionconsumer - The method to apply to each SignerProperty.public AuthSchemeOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>Copyright © 2023. All rights reserved.