Interface RoutingClassifierModelInvocationOutput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RoutingClassifierModelInvocationOutput.Builder,RoutingClassifierModelInvocationOutput>
,SdkBuilder<RoutingClassifierModelInvocationOutput.Builder,RoutingClassifierModelInvocationOutput>
,SdkPojo
- Enclosing class:
- RoutingClassifierModelInvocationOutput
public static interface RoutingClassifierModelInvocationOutput.Builder extends SdkPojo, CopyableBuilder<RoutingClassifierModelInvocationOutput.Builder,RoutingClassifierModelInvocationOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RoutingClassifierModelInvocationOutput.Builder
metadata(Consumer<Metadata.Builder> metadata)
The invocation's metadata.RoutingClassifierModelInvocationOutput.Builder
metadata(Metadata metadata)
The invocation's metadata.default RoutingClassifierModelInvocationOutput.Builder
rawResponse(Consumer<RawResponse.Builder> rawResponse)
The invocation's raw response.RoutingClassifierModelInvocationOutput.Builder
rawResponse(RawResponse rawResponse)
The invocation's raw response.RoutingClassifierModelInvocationOutput.Builder
traceId(String traceId)
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 Detail
-
metadata
RoutingClassifierModelInvocationOutput.Builder metadata(Metadata 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:
metadata(Metadata)
-
rawResponse
RoutingClassifierModelInvocationOutput.Builder rawResponse(RawResponse 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:
rawResponse(RawResponse)
-
traceId
RoutingClassifierModelInvocationOutput.Builder traceId(String 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.
-
-