Interface ListChangeSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContextResponse.Builder,CopyableBuilder<ListChangeSetsResponse.Builder,,ListChangeSetsResponse> SdkBuilder<ListChangeSetsResponse.Builder,,ListChangeSetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChangeSetsResponse
@Mutable
@NotThreadSafe
public static interface ListChangeSetsResponse.Builder
extends ContextResponse.Builder, SdkPojo, CopyableBuilder<ListChangeSetsResponse.Builder,ListChangeSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ChangeSetSummary> items) The change set summaries.items(Consumer<ChangeSetSummary.Builder>... items) The change set summaries.items(ChangeSetSummary... items) The change set 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 change set summaries. Always present, and empty when there are none. Stop paging when
nextTokenis absent, not when a page is short.- Parameters:
items- The change set summaries. Always present, and empty when there are none. Stop paging whennextTokenis absent, not when a page is short.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The change set summaries. Always present, and empty when there are none. Stop paging when
nextTokenis absent, not when a page is short.- Parameters:
items- The change set summaries. Always present, and empty when there are none. Stop paging whennextTokenis absent, not when a page is short.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The change set summaries. Always present, and empty when there are none. Stop paging when
This is a convenience method that creates an instance of thenextTokenis absent, not when a page is short.ChangeSetSummary.Builderavoiding the need to create one manually viaChangeSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ChangeSetSummary>).- Parameters:
items- a consumer that will call methods onChangeSetSummary.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.
-