Interface ListCalculationExecutionsResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListCalculationExecutionsResponse.Builder,ListCalculationExecutionsResponse>,SdkBuilder<ListCalculationExecutionsResponse.Builder,ListCalculationExecutionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCalculationExecutionsResponse
public static interface ListCalculationExecutionsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListCalculationExecutionsResponse.Builder,ListCalculationExecutionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCalculationExecutionsResponse.Buildercalculations(Collection<CalculationSummary> calculations)A list of CalculationSummary objects.ListCalculationExecutionsResponse.Buildercalculations(Consumer<CalculationSummary.Builder>... calculations)A list of CalculationSummary objects.ListCalculationExecutionsResponse.Buildercalculations(CalculationSummary... calculations)A list of CalculationSummary objects.ListCalculationExecutionsResponse.BuildernextToken(String nextToken)A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListCalculationExecutionsResponse.Builder nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the
NextTokenfrom the response object of the previous page call.- Parameters:
nextToken- A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in theNextTokenfrom the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculations
ListCalculationExecutionsResponse.Builder calculations(Collection<CalculationSummary> calculations)
A list of CalculationSummary objects.
- Parameters:
calculations- A list of CalculationSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculations
ListCalculationExecutionsResponse.Builder calculations(CalculationSummary... calculations)
A list of CalculationSummary objects.
- Parameters:
calculations- A list of CalculationSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculations
ListCalculationExecutionsResponse.Builder calculations(Consumer<CalculationSummary.Builder>... calculations)
A list of CalculationSummary objects.
This is a convenience method that creates an instance of theCalculationSummary.Builderavoiding the need to create one manually viaCalculationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#calculations(List.) - Parameters:
calculations- a consumer that will call methods onCalculationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#calculations(java.util.Collection)
-
-