Interface GetCatalogsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCatalogsResponse.Builder,GetCatalogsResponse>,GlueResponse.Builder,SdkBuilder<GetCatalogsResponse.Builder,GetCatalogsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCatalogsResponse
public static interface GetCatalogsResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetCatalogsResponse.Builder,GetCatalogsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCatalogsResponse.BuildercatalogList(Collection<Catalog> catalogList)An array ofCatalogobjects.GetCatalogsResponse.BuildercatalogList(Consumer<Catalog.Builder>... catalogList)An array ofCatalogobjects.GetCatalogsResponse.BuildercatalogList(Catalog... catalogList)An array ofCatalogobjects.GetCatalogsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
catalogList
GetCatalogsResponse.Builder catalogList(Collection<Catalog> catalogList)
An array of
Catalogobjects. A list ofCatalogobjects from the specified parent catalog.- Parameters:
catalogList- An array ofCatalogobjects. A list ofCatalogobjects from the specified parent catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogList
GetCatalogsResponse.Builder catalogList(Catalog... catalogList)
An array of
Catalogobjects. A list ofCatalogobjects from the specified parent catalog.- Parameters:
catalogList- An array ofCatalogobjects. A list ofCatalogobjects from the specified parent catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalogList
GetCatalogsResponse.Builder catalogList(Consumer<Catalog.Builder>... catalogList)
An array of
This is a convenience method that creates an instance of theCatalogobjects. A list ofCatalogobjects from the specified parent catalog.Catalog.Builderavoiding the need to create one manually viaCatalog.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#catalogList(List.) - Parameters:
catalogList- a consumer that will call methods onCatalog.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#catalogList(java.util.Collection)
-
nextToken
GetCatalogsResponse.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.
-
-