Class FromApiKeyIdentityOptions.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.FromApiKeyIdentityOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FromApiKeyIdentityOptions>
- Enclosing interface:
FromApiKeyIdentityOptions
@Stability(Stable)
public static final class FromApiKeyIdentityOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FromApiKeyIdentityOptions>
A builder for
FromApiKeyIdentityOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialLocation(ApiKeyCredentialLocation credentialLocation) Sets the value ofFromApiKeyIdentityOptions.getCredentialLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialLocation
@Stability(Stable) public FromApiKeyIdentityOptions.Builder credentialLocation(ApiKeyCredentialLocation credentialLocation) Sets the value ofFromApiKeyIdentityOptions.getCredentialLocation()- Parameters:
credentialLocation- Where to place the API key on outbound requests.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FromApiKeyIdentityOptions>- Returns:
- a new instance of
FromApiKeyIdentityOptions - Throws:
NullPointerException- if any required attribute was not provided
-