Interface ApiInvocationInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApiInvocationInput.Builder,
,ApiInvocationInput> SdkBuilder<ApiInvocationInput.Builder,
,ApiInvocationInput> SdkPojo
- Enclosing class:
ApiInvocationInput
-
Method Summary
Modifier and TypeMethodDescriptionactionGroup
(String actionGroup) The action group that the API operation belongs to.actionInvocationType
(String actionInvocationType) Contains information about the API operation to invoke.actionInvocationType
(ActionInvocationType actionInvocationType) Contains information about the API operation to invoke.The path to the API operation.httpMethod
(String httpMethod) The HTTP method of the API operation.parameters
(Collection<ApiParameter> parameters) The parameters to provide for the API request, as the agent elicited from the user.parameters
(Consumer<ApiParameter.Builder>... parameters) The parameters to provide for the API request, as the agent elicited from the user.parameters
(ApiParameter... parameters) The parameters to provide for the API request, as the agent elicited from the user.default ApiInvocationInput.Builder
requestBody
(Consumer<ApiRequestBody.Builder> requestBody) The request body to provide for the API request, as the agent elicited from the user.requestBody
(ApiRequestBody requestBody) The request body to provide for the API request, as the agent elicited from the user.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 Details
-
actionGroup
The action group that the API operation belongs to.
- Parameters:
actionGroup
- The action group that the API operation belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionInvocationType
Contains information about the API operation to invoke.
- Parameters:
actionInvocationType
- Contains information about the API operation to invoke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionInvocationType
Contains information about the API operation to invoke.
- Parameters:
actionInvocationType
- Contains information about the API operation to invoke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiPath
The path to the API operation.
- Parameters:
apiPath
- The path to the API operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpMethod
The HTTP method of the API operation.
- Parameters:
httpMethod
- The HTTP method of the API operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters to provide for the API request, as the agent elicited from the user.
- Parameters:
parameters
- The parameters to provide for the API request, as the agent elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters to provide for the API request, as the agent elicited from the user.
- Parameters:
parameters
- The parameters to provide for the API request, as the agent elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters to provide for the API request, as the agent elicited from the user.
This is a convenience method that creates an instance of theApiParameter.Builder
avoiding the need to create one manually viaApiParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<ApiParameter>)
.- Parameters:
parameters
- a consumer that will call methods onApiParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestBody
The request body to provide for the API request, as the agent elicited from the user.
- Parameters:
requestBody
- The request body to provide for the API request, as the agent elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestBody
The request body to provide for the API request, as the agent elicited from the user.
This is a convenience method that creates an instance of theApiRequestBody.Builder
avoiding the need to create one manually viaApiRequestBody.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestBody(ApiRequestBody)
.- Parameters:
requestBody
- a consumer that will call methods onApiRequestBody.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-