Interface GetHarnessEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetHarnessEndpointResponse.Builder,,GetHarnessEndpointResponse> SdkBuilder<GetHarnessEndpointResponse.Builder,,GetHarnessEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetHarnessEndpointResponse
@Mutable
@NotThreadSafe
public static interface GetHarnessEndpointResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<GetHarnessEndpointResponse.Builder,GetHarnessEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoint(Consumer<HarnessEndpoint.Builder> endpoint) The endpoint resource.endpoint(HarnessEndpoint endpoint) The endpoint resource.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
endpoint
The endpoint resource.
- Parameters:
endpoint- The endpoint resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
The endpoint resource.
This is a convenience method that creates an instance of theHarnessEndpoint.Builderavoiding the need to create one manually viaHarnessEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoint(HarnessEndpoint).- Parameters:
endpoint- a consumer that will call methods onHarnessEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-