Interface RoutingClassifierModelInvocationOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingClassifierModelInvocationOutput.Builder,
,RoutingClassifierModelInvocationOutput> SdkBuilder<RoutingClassifierModelInvocationOutput.Builder,
,RoutingClassifierModelInvocationOutput> SdkPojo
- Enclosing class:
RoutingClassifierModelInvocationOutput
@Mutable
@NotThreadSafe
public static interface RoutingClassifierModelInvocationOutput.Builder
extends SdkPojo, CopyableBuilder<RoutingClassifierModelInvocationOutput.Builder,RoutingClassifierModelInvocationOutput>
-
Method Summary
Modifier and TypeMethodDescriptionmetadata
(Consumer<Metadata.Builder> metadata) The invocation's metadata.The invocation's metadata.rawResponse
(Consumer<RawResponse.Builder> rawResponse) The invocation's raw response.rawResponse
(RawResponse rawResponse) The invocation's raw response.The invocation's trace ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
metadata
The invocation's metadata.
- Parameters:
metadata
- The invocation's metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default RoutingClassifierModelInvocationOutput.Builder metadata(Consumer<Metadata.Builder> metadata) The invocation's metadata.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(Metadata)
.- Parameters:
metadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rawResponse
The invocation's raw response.
- Parameters:
rawResponse
- The invocation's raw response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawResponse
default RoutingClassifierModelInvocationOutput.Builder rawResponse(Consumer<RawResponse.Builder> rawResponse) The invocation's raw response.
This is a convenience method that creates an instance of theRawResponse.Builder
avoiding the need to create one manually viaRawResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torawResponse(RawResponse)
.- Parameters:
rawResponse
- a consumer that will call methods onRawResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traceId
The invocation's trace ID.
- Parameters:
traceId
- The invocation's trace ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-