Interface Observation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Observation.Builder,Observation>
,SdkBuilder<Observation.Builder,Observation>
,SdkPojo
- Enclosing class:
- Observation
public static interface Observation.Builder extends SdkPojo, CopyableBuilder<Observation.Builder,Observation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Observation.Builder
actionGroupInvocationOutput(Consumer<ActionGroupInvocationOutput.Builder> actionGroupInvocationOutput)
Sets the value of the ActionGroupInvocationOutput property for this object.Observation.Builder
actionGroupInvocationOutput(ActionGroupInvocationOutput actionGroupInvocationOutput)
Sets the value of the ActionGroupInvocationOutput property for this object.default Observation.Builder
finalResponse(Consumer<FinalResponse.Builder> finalResponse)
Sets the value of the FinalResponse property for this object.Observation.Builder
finalResponse(FinalResponse finalResponse)
Sets the value of the FinalResponse property for this object.default Observation.Builder
knowledgeBaseLookupOutput(Consumer<KnowledgeBaseLookupOutput.Builder> knowledgeBaseLookupOutput)
Sets the value of the KnowledgeBaseLookupOutput property for this object.Observation.Builder
knowledgeBaseLookupOutput(KnowledgeBaseLookupOutput knowledgeBaseLookupOutput)
Sets the value of the KnowledgeBaseLookupOutput property for this object.default Observation.Builder
repromptResponse(Consumer<RepromptResponse.Builder> repromptResponse)
Sets the value of the RepromptResponse property for this object.Observation.Builder
repromptResponse(RepromptResponse repromptResponse)
Sets the value of the RepromptResponse property for this object.Observation.Builder
traceId(String traceId)
Sets the value of the TraceId property for this object.Observation.Builder
type(String type)
Sets the value of the Type property for this object.Observation.Builder
type(Type type)
Sets the value of the Type property for this object.-
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, sdkFields
-
-
-
-
Method Detail
-
traceId
Observation.Builder traceId(String traceId)
Sets the value of the TraceId property for this object.- Parameters:
traceId
- The new value for the TraceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Observation.Builder type(String type)
Sets the value of the Type property for this object.
-
type
Observation.Builder type(Type type)
Sets the value of the Type property for this object.
-
actionGroupInvocationOutput
Observation.Builder actionGroupInvocationOutput(ActionGroupInvocationOutput actionGroupInvocationOutput)
Sets the value of the ActionGroupInvocationOutput property for this object.- Parameters:
actionGroupInvocationOutput
- The new value for the ActionGroupInvocationOutput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionGroupInvocationOutput
default Observation.Builder actionGroupInvocationOutput(Consumer<ActionGroupInvocationOutput.Builder> actionGroupInvocationOutput)
Sets the value of the ActionGroupInvocationOutput property for this object. This is a convenience method that creates an instance of theActionGroupInvocationOutput.Builder
avoiding the need to create one manually viaActionGroupInvocationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionGroupInvocationOutput(ActionGroupInvocationOutput)
.- Parameters:
actionGroupInvocationOutput
- a consumer that will call methods onActionGroupInvocationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actionGroupInvocationOutput(ActionGroupInvocationOutput)
-
knowledgeBaseLookupOutput
Observation.Builder knowledgeBaseLookupOutput(KnowledgeBaseLookupOutput knowledgeBaseLookupOutput)
Sets the value of the KnowledgeBaseLookupOutput property for this object.- Parameters:
knowledgeBaseLookupOutput
- The new value for the KnowledgeBaseLookupOutput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseLookupOutput
default Observation.Builder knowledgeBaseLookupOutput(Consumer<KnowledgeBaseLookupOutput.Builder> knowledgeBaseLookupOutput)
Sets the value of the KnowledgeBaseLookupOutput property for this object. This is a convenience method that creates an instance of theKnowledgeBaseLookupOutput.Builder
avoiding the need to create one manually viaKnowledgeBaseLookupOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toknowledgeBaseLookupOutput(KnowledgeBaseLookupOutput)
.- Parameters:
knowledgeBaseLookupOutput
- a consumer that will call methods onKnowledgeBaseLookupOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
knowledgeBaseLookupOutput(KnowledgeBaseLookupOutput)
-
finalResponse
Observation.Builder finalResponse(FinalResponse finalResponse)
Sets the value of the FinalResponse property for this object.- Parameters:
finalResponse
- The new value for the FinalResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalResponse
default Observation.Builder finalResponse(Consumer<FinalResponse.Builder> finalResponse)
Sets the value of the FinalResponse property for this object. This is a convenience method that creates an instance of theFinalResponse.Builder
avoiding the need to create one manually viaFinalResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofinalResponse(FinalResponse)
.- Parameters:
finalResponse
- a consumer that will call methods onFinalResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
finalResponse(FinalResponse)
-
repromptResponse
Observation.Builder repromptResponse(RepromptResponse repromptResponse)
Sets the value of the RepromptResponse property for this object.- Parameters:
repromptResponse
- The new value for the RepromptResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repromptResponse
default Observation.Builder repromptResponse(Consumer<RepromptResponse.Builder> repromptResponse)
Sets the value of the RepromptResponse property for this object. This is a convenience method that creates an instance of theRepromptResponse.Builder
avoiding the need to create one manually viaRepromptResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepromptResponse(RepromptResponse)
.- Parameters:
repromptResponse
- a consumer that will call methods onRepromptResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
repromptResponse(RepromptResponse)
-
-