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