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