Interface Authentication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Authentication.Builder,,Authentication> SdkBuilder<Authentication.Builder,,Authentication> SdkPojo
- Enclosing class:
Authentication
@Mutable
@NotThreadSafe
public static interface Authentication.Builder
extends SdkPojo, CopyableBuilder<Authentication.Builder,Authentication>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Authentication.BuilderextensionKey(Consumer<ExtensionKey.Builder> extensionKey) Clients sign requests with SigV4 using a key the service issues.extensionKey(ExtensionKey extensionKey) Clients sign requests with SigV4 using a key the service issues.Whether clients may interact with the extension interface without authenticating.default Authentication.BuilderruntimeCredentials(Consumer<RuntimeCredentials.Builder> runtimeCredentials) Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.runtimeCredentials(RuntimeCredentials runtimeCredentials) Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
none
Whether clients may interact with the extension interface without authenticating.
- Parameters:
none- Whether clients may interact with the extension interface without authenticating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeCredentials
Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.
- Parameters:
runtimeCredentials- Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeCredentials
default Authentication.Builder runtimeCredentials(Consumer<RuntimeCredentials.Builder> runtimeCredentials) Clients sign requests with SigV4 using the AWS credentials the Cloud Extensions Runtime gets from its environment.
This is a convenience method that creates an instance of theRuntimeCredentials.Builderavoiding the need to create one manually viaRuntimeCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeCredentials(RuntimeCredentials).- Parameters:
runtimeCredentials- a consumer that will call methods onRuntimeCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extensionKey
Clients sign requests with SigV4 using a key the service issues.
- Parameters:
extensionKey- Clients sign requests with SigV4 using a key the service issues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionKey
Clients sign requests with SigV4 using a key the service issues.
This is a convenience method that creates an instance of theExtensionKey.Builderavoiding the need to create one manually viaExtensionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextensionKey(ExtensionKey).- Parameters:
extensionKey- a consumer that will call methods onExtensionKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-