Class CfnHarnessEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarnessEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessEndpoint>
- Enclosing class:
CfnHarnessEndpoint
@Stability(Stable)
public static final class CfnHarnessEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessEndpoint>
A fluent builder for
CfnHarnessEndpoint.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnHarnessEndpoint.Builderdescription(String description) The description of the endpoint.endpointName(String endpointName) The name of the endpoint.The ID of the harness that the endpoint belongs to.Tags to apply to the harness endpoint resource.targetVersion(String targetVersion) The harness version that the endpoint points to and serves invocations from.
-
Method Details
-
create
@Stability(Stable) public static CfnHarnessEndpoint.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnHarnessEndpoint.Builder.
-
endpointName
The name of the endpoint.Must start with a letter and contain only alphanumeric characters and underscores.
- Parameters:
endpointName- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
harnessId
The ID of the harness that the endpoint belongs to.- Parameters:
harnessId- The ID of the harness that the endpoint belongs to. This parameter is required.- Returns:
this- See Also:
-
description
The description of the endpoint.- Parameters:
description- The description of the endpoint. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to apply to the harness endpoint resource.- Parameters:
tags- Tags to apply to the harness endpoint resource. This parameter is required.- Returns:
this- See Also:
-
targetVersion
The harness version that the endpoint points to and serves invocations from.- Parameters:
targetVersion- The harness version that the endpoint points to and serves invocations from. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessEndpoint>- Returns:
- a newly built instance of
CfnHarnessEndpoint.
-