Interface ListPublisherAssociationsResponse.Builder
- All Superinterfaces:
AgentRegistryControlResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPublisherAssociationsResponse.Builder,,ListPublisherAssociationsResponse> SdkBuilder<ListPublisherAssociationsResponse.Builder,,ListPublisherAssociationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPublisherAssociationsResponse
@Mutable
@NotThreadSafe
public static interface ListPublisherAssociationsResponse.Builder
extends AgentRegistryControlResponse.Builder, SdkPojo, CopyableBuilder<ListPublisherAssociationsResponse.Builder,ListPublisherAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<PublisherAssociation> items) The publisher associations on this page of results.items(Consumer<PublisherAssociation.Builder>... items) The publisher associations on this page of results.items(PublisherAssociation... items) The publisher associations 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
The publisher associations on this page of results.
- Parameters:
items- The publisher associations on this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The publisher associations on this page of results.
- Parameters:
items- The publisher associations on this page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The publisher associations on this page of results.
This is a convenience method that creates an instance of thePublisherAssociation.Builderavoiding the need to create one manually viaPublisherAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<PublisherAssociation>).- Parameters:
items- a consumer that will call methods onPublisherAssociation.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.
-