Interface UpdateHarnessEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreControlRequest.Builder,Buildable,CopyableBuilder<UpdateHarnessEndpointRequest.Builder,,UpdateHarnessEndpointRequest> SdkBuilder<UpdateHarnessEndpointRequest.Builder,,UpdateHarnessEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateHarnessEndpointRequest
@Mutable
@NotThreadSafe
public static interface UpdateHarnessEndpointRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateHarnessEndpointRequest.Builder,UpdateHarnessEndpointRequest>
-
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 to update.The ID of the harness that the endpoint belongs to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetVersion(String targetVersion) The harness version that the endpoint points to.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 that the endpoint belongs to.
- Parameters:
harnessId- The ID of the harness that the endpoint belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of the endpoint to update.
- Parameters:
endpointName- The name of the endpoint to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetVersion
The harness version that the endpoint points to. If not specified, the existing value is retained.
- Parameters:
targetVersion- The harness version that the endpoint points to. If not specified, the existing value is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the endpoint. If not specified, the existing value is retained.
- Parameters:
description- A description of the endpoint. If not specified, the existing value is retained.- 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.
-
overrideConfiguration
UpdateHarnessEndpointRequest.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
UpdateHarnessEndpointRequest.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.
-