Interface ListDesignationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDesignationsResponse.Builder,,ListDesignationsResponse> DataZoneResponse.Builder,SdkBuilder<ListDesignationsResponse.Builder,,ListDesignationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDesignationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<DesignationSummary> items) The designation summaries thatListDesignationsreturned.items(Consumer<DesignationSummary.Builder>... items) The designation summaries thatListDesignationsreturned.items(DesignationSummary... items) The designation summaries thatListDesignationsreturned.A pagination token that indicates that more results are available.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 designation summaries that
ListDesignationsreturned. Each item contains summary information about a designation in the domain.- Parameters:
items- The designation summaries thatListDesignationsreturned. Each item contains summary information about a designation in the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The designation summaries that
ListDesignationsreturned. Each item contains summary information about a designation in the domain.- Parameters:
items- The designation summaries thatListDesignationsreturned. Each item contains summary information about a designation in the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The designation summaries that
This is a convenience method that creates an instance of theListDesignationsreturned. Each item contains summary information about a designation in the domain.DesignationSummary.Builderavoiding the need to create one manually viaDesignationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<DesignationSummary>).- Parameters:
items- a consumer that will call methods onDesignationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that indicates that more results are available. Pass this token to a subsequent call to
ListDesignationsto retrieve the next page of results. If there are no more results, this value is null.- Parameters:
nextToken- A pagination token that indicates that more results are available. Pass this token to a subsequent call toListDesignationsto retrieve the next page of results. If there are no more results, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-