Interface GetDatabasesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDatabasesResponse.Builder,GetDatabasesResponse>,GlueResponse.Builder,SdkBuilder<GetDatabasesResponse.Builder,GetDatabasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDatabasesResponse
public static interface GetDatabasesResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetDatabasesResponse.Builder,GetDatabasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDatabasesResponse.BuilderdatabaseList(Collection<Database> databaseList)A list ofDatabaseobjects from the specified catalog.GetDatabasesResponse.BuilderdatabaseList(Consumer<Database.Builder>... databaseList)A list ofDatabaseobjects from the specified catalog.GetDatabasesResponse.BuilderdatabaseList(Database... databaseList)A list ofDatabaseobjects from the specified catalog.GetDatabasesResponse.BuildernextToken(String nextToken)A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
databaseList
GetDatabasesResponse.Builder databaseList(Collection<Database> databaseList)
A list of
Databaseobjects from the specified catalog.- Parameters:
databaseList- A list ofDatabaseobjects from the specified catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
GetDatabasesResponse.Builder databaseList(Database... databaseList)
A list of
Databaseobjects from the specified catalog.- Parameters:
databaseList- A list ofDatabaseobjects from the specified catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseList
GetDatabasesResponse.Builder databaseList(Consumer<Database.Builder>... databaseList)
A list of
This is a convenience method that creates an instance of theDatabaseobjects from the specified catalog.Database.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
GetDatabasesResponse.Builder nextToken(String nextToken)
A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.
- Parameters:
nextToken- A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-