Interface ListCurationProposalsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<ListCurationProposalsResponse.Builder,,ListCurationProposalsResponse> SdkBuilder<ListCurationProposalsResponse.Builder,,ListCurationProposalsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCurationProposalsResponse
@Mutable
@NotThreadSafe
public static interface ListCurationProposalsResponse.Builder
extends ContextResponse.Builder, SdkPojo, CopyableBuilder<ListCurationProposalsResponse.Builder,ListCurationProposalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<CurationProposalSummary> items) The curation proposals, as summaries.items(Consumer<CurationProposalSummary.Builder>... items) The curation proposals, as summaries.items(CurationProposalSummary... items) The curation proposals, as summaries.Pagination cursor for the next page.Methods inherited from interface software.amazon.awssdk.services.context.model.ContextResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
items
The curation proposals, as summaries. Always present, and empty when there are none.
- Parameters:
items- The curation proposals, as summaries. Always present, and empty when there are none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The curation proposals, as summaries. Always present, and empty when there are none.
- Parameters:
items- The curation proposals, as summaries. Always present, and empty when there are none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The curation proposals, as summaries. Always present, and empty when there are none.
This is a convenience method that creates an instance of theCurationProposalSummary.Builderavoiding the need to create one manually viaCurationProposalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<CurationProposalSummary>).- Parameters:
items- a consumer that will call methods onCurationProposalSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination cursor for the next page. Absent when no more results exist.
- Parameters:
nextToken- Pagination cursor for the next page. Absent when no more results exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-