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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaDataLakeNamespace.builder().When the
Consumercompletes,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.
-