Interface ListDataLakeNamespacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDataLakeNamespacesResponse.Builder,
,ListDataLakeNamespacesResponse> SdkBuilder<ListDataLakeNamespacesResponse.Builder,
,ListDataLakeNamespacesResponse> SdkPojo
,SdkResponse.Builder
,SupplyChainResponse.Builder
- Enclosing class:
ListDataLakeNamespacesResponse
@Mutable
@NotThreadSafe
public static interface ListDataLakeNamespacesResponse.Builder
extends SupplyChainResponse.Builder, SdkPojo, CopyableBuilder<ListDataLakeNamespacesResponse.Builder,ListDataLakeNamespacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnamespaces
(Collection<DataLakeNamespace> namespaces) The list of fetched namespace details.namespaces
(Consumer<DataLakeNamespace.Builder>... namespaces) The list of fetched namespace details.namespaces
(DataLakeNamespace... namespaces) The list of fetched namespace details.The pagination token to fetch next page of namespaces.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
Methods inherited from interface software.amazon.awssdk.services.supplychain.model.SupplyChainResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
namespaces
The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.
- Parameters:
namespaces
- The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.
- Parameters:
namespaces
- The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
ListDataLakeNamespacesResponse.Builder namespaces(Consumer<DataLakeNamespace.Builder>... namespaces) The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces are not included.
This is a convenience method that creates an instance of theDataLakeNamespace.Builder
avoiding the need to create one manually viaDataLakeNamespace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonamespaces(List<DataLakeNamespace>)
.- Parameters:
namespaces
- a consumer that will call methods onDataLakeNamespace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to fetch next page of namespaces.
- Parameters:
nextToken
- The pagination token to fetch next page of namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-