Class GatewayTargetCommonProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.GatewayTargetCommonProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayTargetCommonProps>
- Enclosing interface:
GatewayTargetCommonProps
@Stability(Stable)
public static final class GatewayTargetCommonProps.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayTargetCommonProps>
A builder for
GatewayTargetCommonProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofGatewayTargetCommonProps.getDescription()gatewayTargetName(String gatewayTargetName) Sets the value ofGatewayTargetCommonProps.getGatewayTargetName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofGatewayTargetCommonProps.getDescription()- Parameters:
description- Optional description for the gateway target The description can have up to 200 characters.- Returns:
this
-
gatewayTargetName
@Stability(Stable) public GatewayTargetCommonProps.Builder gatewayTargetName(String gatewayTargetName) Sets the value ofGatewayTargetCommonProps.getGatewayTargetName()- Parameters:
gatewayTargetName- The name of the gateway target The name must be unique within the gateway Pattern: ^([0-9a-zA-Z][-]?){1,100}$.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GatewayTargetCommonProps>- Returns:
- a new instance of
GatewayTargetCommonProps - Throws:
NullPointerException- if any required attribute was not provided
-