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