Class GatewayApiKeyIdentityBinding.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.GatewayApiKeyIdentityBinding.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayApiKeyIdentityBinding>
- Enclosing interface:
GatewayApiKeyIdentityBinding
@Stability(Stable)
public static final class GatewayApiKeyIdentityBinding.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayApiKeyIdentityBinding>
A builder for
GatewayApiKeyIdentityBinding-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.providerArn(String providerArn) Sets the value ofGatewayApiKeyIdentityBinding.getProviderArn()Sets the value ofGatewayApiKeyIdentityBinding.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
providerArn
Sets the value ofGatewayApiKeyIdentityBinding.getProviderArn()- Parameters:
providerArn- API key credential provider ARN. This parameter is required.- Returns:
this
-
secretArn
Sets the value ofGatewayApiKeyIdentityBinding.getSecretArn()- Parameters:
secretArn- Secrets Manager secret ARN for the API key material. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GatewayApiKeyIdentityBinding>- Returns:
- a new instance of
GatewayApiKeyIdentityBinding - Throws:
NullPointerException- if any required attribute was not provided
-