Interface InvocationInputMember.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InvocationInputMember.Builder,,InvocationInputMember> SdkBuilder<InvocationInputMember.Builder,,InvocationInputMember> SdkPojo
- Enclosing class:
InvocationInputMember
public static interface InvocationInputMember.Builder
extends SdkPojo, CopyableBuilder<InvocationInputMember.Builder,InvocationInputMember>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InvocationInputMember.BuilderapiInvocationInput(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.BuilderfunctionInvocationInput(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaApiInvocationInput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFunctionInvocationInput.builder().When the
Consumercompletes,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:
-