Interface ListExecutorsResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListExecutorsResponse.Builder,ListExecutorsResponse>,SdkBuilder<ListExecutorsResponse.Builder,ListExecutorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListExecutorsResponse
public static interface ListExecutorsResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListExecutorsResponse.Builder,ListExecutorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListExecutorsResponse.BuilderexecutorsSummary(Collection<ExecutorsSummary> executorsSummary)Contains summary information about the executor.ListExecutorsResponse.BuilderexecutorsSummary(Consumer<ExecutorsSummary.Builder>... executorsSummary)Contains summary information about the executor.ListExecutorsResponse.BuilderexecutorsSummary(ExecutorsSummary... executorsSummary)Contains summary information about the executor.ListExecutorsResponse.BuildernextToken(String nextToken)A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.ListExecutorsResponse.BuildersessionId(String sessionId)The session ID.-
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
-
sessionId
ListExecutorsResponse.Builder sessionId(String sessionId)
The session ID.
- Parameters:
sessionId- The session ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListExecutorsResponse.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.
-
executorsSummary
ListExecutorsResponse.Builder executorsSummary(Collection<ExecutorsSummary> executorsSummary)
Contains summary information about the executor.
- Parameters:
executorsSummary- Contains summary information about the executor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executorsSummary
ListExecutorsResponse.Builder executorsSummary(ExecutorsSummary... executorsSummary)
Contains summary information about the executor.
- Parameters:
executorsSummary- Contains summary information about the executor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executorsSummary
ListExecutorsResponse.Builder executorsSummary(Consumer<ExecutorsSummary.Builder>... executorsSummary)
Contains summary information about the executor.
This is a convenience method that creates an instance of theExecutorsSummary.Builderavoiding the need to create one manually viaExecutorsSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#executorsSummary(List.) - Parameters:
executorsSummary- a consumer that will call methods onExecutorsSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#executorsSummary(java.util.Collection)
-
-