Interface ListPublishersResponse.Builder
- All Superinterfaces:
AgentRegistryControlResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPublishersResponse.Builder,,ListPublishersResponse> SdkBuilder<ListPublishersResponse.Builder,,ListPublishersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPublishersResponse
@Mutable
@NotThreadSafe
public static interface ListPublishersResponse.Builder
extends AgentRegistryControlResponse.Builder, SdkPojo, CopyableBuilder<ListPublishersResponse.Builder,ListPublishersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<PublisherSummary> items) Summaries of the publishers on this page of results.items(Consumer<PublisherSummary.Builder>... items) Summaries of the publishers on this page of results.items(PublisherSummary... items) Summaries of the publishers on this page of results.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.services.agentregistrycontrol.model.AgentRegistryControlResponse.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
Summaries of the publishers on this page of results.
- Parameters:
items- Summaries of the publishers on this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Summaries of the publishers on this page of results.
- Parameters:
items- Summaries of the publishers on this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Summaries of the publishers on this page of results.
This is a convenience method that creates an instance of thePublisherSummary.Builderavoiding the need to create one manually viaPublisherSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<PublisherSummary>).- Parameters:
items- a consumer that will call methods onPublisherSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-