Class CfnApiKeyCredentialProviderPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnApiKeyCredentialProviderPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiKeyCredentialProviderPropsMixin>
- Enclosing class:
CfnApiKeyCredentialProviderPropsMixin
@Stability(Stable)
public static final class CfnApiKeyCredentialProviderPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiKeyCredentialProviderPropsMixin>
A fluent builder for
CfnApiKeyCredentialProviderPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe API key to use for authentication.build()create()create(CfnPropertyMixinOptions options) The name of the API key credential provider.Tags to assign to the API key credential provider.
-
Method Details
-
create
@Stability(Stable) public static CfnApiKeyCredentialProviderPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApiKeyCredentialProviderPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApiKeyCredentialProviderPropsMixin.Builder.
-
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:
-
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:
-
tags
@Stability(Stable) public CfnApiKeyCredentialProviderPropsMixin.Builder tags(List<? extends CfnTag> 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<CfnApiKeyCredentialProviderPropsMixin>- Returns:
- a newly built instance of
CfnApiKeyCredentialProviderPropsMixin.
-