Class CfnApiKeyCredentialProviderMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnApiKeyCredentialProviderMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiKeyCredentialProviderMixinProps>
- Enclosing interface:
CfnApiKeyCredentialProviderMixinProps
@Stability(Stable)
public static final class CfnApiKeyCredentialProviderMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiKeyCredentialProviderMixinProps>
A builder for
CfnApiKeyCredentialProviderMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApiKeyCredentialProviderMixinProps.getApiKey()build()Builds the configured instance.Sets the value ofCfnApiKeyCredentialProviderMixinProps.getName()Sets the value ofCfnApiKeyCredentialProviderMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
Sets the value ofCfnApiKeyCredentialProviderMixinProps.getApiKey()- Parameters:
apiKey- The API key to use for authentication.- Returns:
this
-
name
Sets the value ofCfnApiKeyCredentialProviderMixinProps.getName()- Parameters:
name- The name of the API key credential provider.- Returns:
this
-
tags
@Stability(Stable) public CfnApiKeyCredentialProviderMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnApiKeyCredentialProviderMixinProps.getTags()- Parameters:
tags- Tags to assign to the API key credential provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiKeyCredentialProviderMixinProps>- Returns:
- a new instance of
CfnApiKeyCredentialProviderMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-