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
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
-
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.
-
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.Builderavoiding the need to create one manually viaRawResponse.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaMetadata.builder().When the
Consumercompletes,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:
-