Interface ListRelationshipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRelationshipsResponse.Builder,,ListRelationshipsResponse> PartnerCentralChannelResponse.Builder,SdkBuilder<ListRelationshipsResponse.Builder,,ListRelationshipsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRelationshipsResponse
@Mutable
@NotThreadSafe
public static interface ListRelationshipsResponse.Builder
extends PartnerCentralChannelResponse.Builder, SdkPojo, CopyableBuilder<ListRelationshipsResponse.Builder,ListRelationshipsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RelationshipSummary> items) List of relationships matching the criteria.items(Consumer<RelationshipSummary.Builder>... items) List of relationships matching the criteria.items(RelationshipSummary... items) List of relationships matching the criteria.Token for retrieving the next page of results, if available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralchannel.model.PartnerCentralChannelResponse.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
List of relationships matching the criteria.
- Parameters:
items- List of relationships matching the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of relationships matching the criteria.
- Parameters:
items- List of relationships matching the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of relationships matching the criteria.
This is a convenience method that creates an instance of theRelationshipSummary.Builderavoiding the need to create one manually viaRelationshipSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RelationshipSummary>).- Parameters:
items- a consumer that will call methods onRelationshipSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for retrieving the next page of results, if available.
- Parameters:
nextToken- Token for retrieving the next page of results, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-