Class DefaultAuthSchemeOption
- java.lang.Object
-
- software.amazon.awssdk.http.auth.spi.internal.scheme.DefaultAuthSchemeOption
-
- All Implemented Interfaces:
AuthSchemeOption,ToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>
@Immutable public final class DefaultAuthSchemeOption extends Object implements AuthSchemeOption
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultAuthSchemeOption.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.http.auth.spi.scheme.AuthSchemeOption
AuthSchemeOption.Builder, AuthSchemeOption.IdentityPropertyConsumer, AuthSchemeOption.SignerPropertyConsumer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthSchemeOption.Builderbuilder()Get a new builder for creating aAuthSchemeOption.voidforEachIdentityProperty(AuthSchemeOption.IdentityPropertyConsumer consumer)A method to operate on allIdentityPropertyvalues of this AuthSchemeOption.voidforEachSignerProperty(AuthSchemeOption.SignerPropertyConsumer consumer)A method to operate on allSignerPropertyvalues of this AuthSchemeOption.<T> TidentityProperty(IdentityProperty<T> property)Retrieve the value of anIdentityProperty.StringschemeId()Retrieve the scheme ID, a unique identifier for the authentication scheme (aws.auth#sigv4, smithy.api#httpBearerAuth).<T> TsignerProperty(SignerProperty<T> property)Retrieve the value of anSignerProperty.AuthSchemeOption.BuildertoBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static AuthSchemeOption.Builder builder()
Description copied from interface:AuthSchemeOptionGet a new builder for creating aAuthSchemeOption.
-
schemeId
public String schemeId()
Description copied from interface:AuthSchemeOptionRetrieve the scheme ID, a unique identifier for the authentication scheme (aws.auth#sigv4, smithy.api#httpBearerAuth).- Specified by:
schemeIdin interfaceAuthSchemeOption
-
identityProperty
public <T> T identityProperty(IdentityProperty<T> property)
Description copied from interface:AuthSchemeOptionRetrieve the value of anIdentityProperty.- Specified by:
identityPropertyin interfaceAuthSchemeOption- Type Parameters:
T- The type of the IdentityProperty.- Parameters:
property- The IdentityProperty to retrieve the value of.
-
signerProperty
public <T> T signerProperty(SignerProperty<T> property)
Description copied from interface:AuthSchemeOptionRetrieve the value of anSignerProperty.- Specified by:
signerPropertyin interfaceAuthSchemeOption- Type Parameters:
T- The type of the SignerProperty.- Parameters:
property- The SignerProperty to retrieve the value of.
-
forEachIdentityProperty
public void forEachIdentityProperty(AuthSchemeOption.IdentityPropertyConsumer consumer)
Description copied from interface:AuthSchemeOptionA method to operate on allIdentityPropertyvalues of this AuthSchemeOption.- Specified by:
forEachIdentityPropertyin interfaceAuthSchemeOption- Parameters:
consumer- The method to apply to each IdentityProperty.
-
forEachSignerProperty
public void forEachSignerProperty(AuthSchemeOption.SignerPropertyConsumer consumer)
Description copied from interface:AuthSchemeOptionA method to operate on allSignerPropertyvalues of this AuthSchemeOption.- Specified by:
forEachSignerPropertyin interfaceAuthSchemeOption- Parameters:
consumer- The method to apply to each SignerProperty.
-
toBuilder
public AuthSchemeOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>
-
-