Class CfnHarnessEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarnessEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessEndpointProps>
- Enclosing interface:
CfnHarnessEndpointProps
@Stability(Stable)
public static final class CfnHarnessEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessEndpointProps>
A builder for
CfnHarnessEndpointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnHarnessEndpointProps.getDescription()endpointName(String endpointName) Sets the value ofCfnHarnessEndpointProps.getEndpointName()Sets the value ofCfnHarnessEndpointProps.getHarnessId()Sets the value ofCfnHarnessEndpointProps.getTags()targetVersion(String targetVersion) Sets the value ofCfnHarnessEndpointProps.getTargetVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointName
Sets the value ofCfnHarnessEndpointProps.getEndpointName()- Parameters:
endpointName- The name of the endpoint. This parameter is required. Must start with a letter and contain only alphanumeric characters and underscores.- Returns:
this
-
harnessId
Sets the value ofCfnHarnessEndpointProps.getHarnessId()- Parameters:
harnessId- The ID of the harness that the endpoint belongs to. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnHarnessEndpointProps.getDescription()- Parameters:
description- The description of the endpoint.- Returns:
this
-
tags
Sets the value ofCfnHarnessEndpointProps.getTags()- Parameters:
tags- Tags to apply to the harness endpoint resource.- Returns:
this
-
targetVersion
Sets the value ofCfnHarnessEndpointProps.getTargetVersion()- Parameters:
targetVersion- The harness version that the endpoint points to and serves invocations from.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessEndpointProps>- Returns:
- a new instance of
CfnHarnessEndpointProps - Throws:
NullPointerException- if any required attribute was not provided
-