Interface ListDatabasesResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListDatabasesResponse.Builder,ListDatabasesResponse>,SdkBuilder<ListDatabasesResponse.Builder,ListDatabasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDatabasesResponse
public static interface ListDatabasesResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<ListDatabasesResponse.Builder,ListDatabasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDatabasesResponse.BuilderdatabaseList(Collection<Database> databaseList)A list of databases from a data catalog.ListDatabasesResponse.BuilderdatabaseList(Consumer<Database.Builder>... databaseList)A list of databases from a data catalog.ListDatabasesResponse.BuilderdatabaseList(Database... databaseList)A list of databases from a data catalog.ListDatabasesResponse.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
-
databaseList
ListDatabasesResponse.Builder databaseList(Collection<Database> databaseList)
A list of databases from a data catalog.
- Parameters:
databaseList- A list of databases from a data catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
ListDatabasesResponse.Builder databaseList(Database... databaseList)
A list of databases from a data catalog.
- Parameters:
databaseList- A list of databases from a data catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
ListDatabasesResponse.Builder databaseList(Consumer<Database.Builder>... databaseList)
A list of databases from a data catalog.
This is a convenience method that creates an instance of theDatabase.Builderavoiding the need to create one manually viaDatabase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#databaseList(List.) - Parameters:
databaseList- a consumer that will call methods onDatabase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#databaseList(java.util.Collection)
-
nextToken
ListDatabasesResponse.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 NextToken from 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 the NextToken from the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-