Interface ListLineageEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLineageEventsResponse.Builder,,ListLineageEventsResponse> DataZoneResponse.Builder,SdkBuilder<ListLineageEventsResponse.Builder,,ListLineageEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLineageEventsResponse
@Mutable
@NotThreadSafe
public static interface ListLineageEventsResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListLineageEventsResponse.Builder,ListLineageEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<LineageEventSummary> items) The results of the ListLineageEvents action.items(Consumer<LineageEventSummary.Builder>... items) The results of the ListLineageEvents action.items(LineageEventSummary... items) The results of the ListLineageEvents action.When the number of lineage events is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of lineage events, the response includes a pagination token named NextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
items
The results of the ListLineageEvents action.
- Parameters:
items- The results of the ListLineageEvents action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListLineageEvents action.
- Parameters:
items- The results of the ListLineageEvents action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListLineageEvents action.
This is a convenience method that creates an instance of theLineageEventSummary.Builderavoiding the need to create one manually viaLineageEventSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<LineageEventSummary>).- Parameters:
items- a consumer that will call methods onLineageEventSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When the number of lineage events is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of lineage events, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageEvents to list the next set of lineage events.
- Parameters:
nextToken- When the number of lineage events is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of lineage events, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListLineageEvents to list the next set of lineage events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-