Interface InvocationInputMember.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InvocationInputMember.Builder,
,InvocationInputMember> SdkBuilder<InvocationInputMember.Builder,
,InvocationInputMember> SdkPojo
- Enclosing class:
InvocationInputMember
@Mutable
@NotThreadSafe
public static interface InvocationInputMember.Builder
extends SdkPojo, CopyableBuilder<InvocationInputMember.Builder,InvocationInputMember>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvocationInputMember.Builder
apiInvocationInput
(Consumer<ApiInvocationInput.Builder> apiInvocationInput) Contains information about the API operation that the agent predicts should be called.apiInvocationInput
(ApiInvocationInput apiInvocationInput) Contains information about the API operation that the agent predicts should be called.default InvocationInputMember.Builder
functionInvocationInput
(Consumer<FunctionInvocationInput.Builder> functionInvocationInput) Contains information about the function that the agent predicts should be called.functionInvocationInput
(FunctionInvocationInput functionInvocationInput) Contains information about the function that the agent predicts should be called.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
-
apiInvocationInput
Contains information about the API operation that the agent predicts should be called.
- Parameters:
apiInvocationInput
- Contains information about the API operation that the agent predicts should be called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiInvocationInput
default InvocationInputMember.Builder apiInvocationInput(Consumer<ApiInvocationInput.Builder> apiInvocationInput) Contains information about the API operation that the agent predicts should be called.
This is a convenience method that creates an instance of theApiInvocationInput.Builder
avoiding the need to create one manually viaApiInvocationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiInvocationInput(ApiInvocationInput)
.- Parameters:
apiInvocationInput
- a consumer that will call methods onApiInvocationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionInvocationInput
InvocationInputMember.Builder functionInvocationInput(FunctionInvocationInput functionInvocationInput) Contains information about the function that the agent predicts should be called.
- Parameters:
functionInvocationInput
- Contains information about the function that the agent predicts should be called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionInvocationInput
default InvocationInputMember.Builder functionInvocationInput(Consumer<FunctionInvocationInput.Builder> functionInvocationInput) Contains information about the function that the agent predicts should be called.
This is a convenience method that creates an instance of theFunctionInvocationInput.Builder
avoiding the need to create one manually viaFunctionInvocationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionInvocationInput(FunctionInvocationInput)
.- Parameters:
functionInvocationInput
- a consumer that will call methods onFunctionInvocationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-