Interface CreateHarnessEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<CreateHarnessEndpointRequest.Builder,,CreateHarnessEndpointRequest> SdkBuilder<CreateHarnessEndpointRequest.Builder,,CreateHarnessEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHarnessEndpointRequest
@Mutable
@NotThreadSafe
public static interface CreateHarnessEndpointRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<CreateHarnessEndpointRequest.Builder,CreateHarnessEndpointRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.description(String description) A description of the endpoint.endpointName(String endpointName) The name of the endpoint.The ID of the harness to create an endpoint for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to apply to the endpoint resource.targetVersion(String targetVersion) The harness version that the endpoint points to and serves invocations from.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
harnessId
The ID of the harness to create an endpoint for.
- Parameters:
harnessId- The ID of the harness to create an endpoint for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. Must start with a letter and contain only alphanumeric characters and underscores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the endpoint.
- Parameters:
description- A description of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to apply to the endpoint resource.
- Parameters:
tags- Tags to apply to the endpoint resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateHarnessEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHarnessEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-