Class CfnApiKeyCredentialProvider.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnApiKeyCredentialProvider.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiKeyCredentialProvider>
- Enclosing class:
CfnApiKeyCredentialProvider
@Stability(Stable)
public static final class CfnApiKeyCredentialProvider.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiKeyCredentialProvider>
A fluent builder for
CfnApiKeyCredentialProvider.-
Method Summary
Modifier and TypeMethodDescriptionThe API key to use for authentication.build()The name of the API key credential provider.Tags to assign to the API key credential provider.
-
Method Details
-
create
@Stability(Stable) public static CfnApiKeyCredentialProvider.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApiKeyCredentialProvider.Builder.
-
name
The name of the API key credential provider.- Parameters:
name- The name of the API key credential provider. This parameter is required.- Returns:
this- See Also:
-
apiKey
The API key to use for authentication.- Parameters:
apiKey- The API key to use for authentication. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to assign to the API key credential provider.- Parameters:
tags- Tags to assign to the API key credential provider. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiKeyCredentialProvider>- Returns:
- a newly built instance of
CfnApiKeyCredentialProvider.
-