Class CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.ConnectorTargetConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.ConnectorTargetConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.ConnectorTargetConfigurationProperty>
A builder for
CfnGatewayTarget.ConnectorTargetConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurations(List<? extends Object> configurations) configurations(IResolvable configurations) Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getEnabled()source(IResolvable source) Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getSource()Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
@Stability(Stable) public CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder source(IResolvable source) Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getSource()- Parameters:
source- the value to be set. This parameter is required.- Returns:
this
-
source
@Stability(Stable) public CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder source(CfnGatewayTarget.ConnectorSourceProperty source) Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getSource()- Parameters:
source- the value to be set. This parameter is required.- Returns:
this
-
configurations
@Stability(Stable) public CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder configurations(IResolvable configurations) - Parameters:
configurations- the value to be set.- Returns:
this
-
configurations
@Stability(Stable) public CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder configurations(List<? extends Object> configurations) - Parameters:
configurations- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnGatewayTarget.ConnectorTargetConfigurationProperty.Builder enabled(List<String> enabled) Sets the value ofCfnGatewayTarget.ConnectorTargetConfigurationProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.ConnectorTargetConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.ConnectorTargetConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-