Class CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty>
- Enclosing interface:
CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty
@Stability(Stable)
public static final class CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialLocation(String credentialLocation) credentialParameterName(String credentialParameterName) credentialPrefix(String credentialPrefix) providerArn(String providerArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialLocation
@Stability(Stable) public CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder credentialLocation(String credentialLocation) Sets the value ofCfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.getCredentialLocation()- Parameters:
credentialLocation- The credential location for the gateway target.- Returns:
this
-
credentialParameterName
@Stability(Stable) public CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder credentialParameterName(String credentialParameterName) Sets the value ofCfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.getCredentialParameterName()- Parameters:
credentialParameterName- The credential parameter name for the provider for the gateway target.- Returns:
this
-
credentialPrefix
@Stability(Stable) public CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder credentialPrefix(String credentialPrefix) - Parameters:
credentialPrefix- The API key credential provider for the gateway target.- Returns:
this
-
providerArn
@Stability(Stable) public CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty.Builder providerArn(String providerArn) - Parameters:
providerArn- The provider ARN for the gateway target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty>- Returns:
- a new instance of
CfnGatewayTargetPropsMixin.ApiKeyCredentialProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-