Class CfnGatewayTargetProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTargetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTargetProps>
- Enclosing interface:
CfnGatewayTargetProps
@Stability(Stable)
public static final class CfnGatewayTargetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTargetProps>
A builder for
CfnGatewayTargetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialProviderConfigurations(List<? extends Object> credentialProviderConfigurations) Sets the value ofCfnGatewayTargetProps.getCredentialProviderConfigurations()credentialProviderConfigurations(IResolvable credentialProviderConfigurations) Sets the value ofCfnGatewayTargetProps.getCredentialProviderConfigurations()description(String description) Sets the value ofCfnGatewayTargetProps.getDescription()gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayTargetProps.getGatewayIdentifier()Sets the value ofCfnGatewayTargetProps.getName()targetConfiguration(IResolvable targetConfiguration) Sets the value ofCfnGatewayTargetProps.getTargetConfiguration()targetConfiguration(CfnGatewayTarget.TargetConfigurationProperty targetConfiguration) Sets the value ofCfnGatewayTargetProps.getTargetConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialProviderConfigurations
@Stability(Stable) public CfnGatewayTargetProps.Builder credentialProviderConfigurations(IResolvable credentialProviderConfigurations) Sets the value ofCfnGatewayTargetProps.getCredentialProviderConfigurations()- Parameters:
credentialProviderConfigurations- The OAuth credential provider configuration. This parameter is required.- Returns:
this
-
credentialProviderConfigurations
@Stability(Stable) public CfnGatewayTargetProps.Builder credentialProviderConfigurations(List<? extends Object> credentialProviderConfigurations) Sets the value ofCfnGatewayTargetProps.getCredentialProviderConfigurations()- Parameters:
credentialProviderConfigurations- The OAuth credential provider configuration. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnGatewayTargetProps.getName()- Parameters:
name- The name for the gateway target. This parameter is required.- Returns:
this
-
targetConfiguration
@Stability(Stable) public CfnGatewayTargetProps.Builder targetConfiguration(IResolvable targetConfiguration) Sets the value ofCfnGatewayTargetProps.getTargetConfiguration()- Parameters:
targetConfiguration- The target configuration for the Smithy model target. This parameter is required.- Returns:
this
-
targetConfiguration
@Stability(Stable) public CfnGatewayTargetProps.Builder targetConfiguration(CfnGatewayTarget.TargetConfigurationProperty targetConfiguration) Sets the value ofCfnGatewayTargetProps.getTargetConfiguration()- Parameters:
targetConfiguration- The target configuration for the Smithy model target. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnGatewayTargetProps.getDescription()- Parameters:
description- The description for the gateway target.- Returns:
this
-
gatewayIdentifier
Sets the value ofCfnGatewayTargetProps.getGatewayIdentifier()- Parameters:
gatewayIdentifier- The gateway ID for the gateway target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTargetProps>- Returns:
- a new instance of
CfnGatewayTargetProps - Throws:
NullPointerException- if any required attribute was not provided
-