Interface ListSocialConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSocialConnectionsResponse.Builder,,ListSocialConnectionsResponse> PartnerCentralMarketingResponse.Builder,SdkBuilder<ListSocialConnectionsResponse.Builder,,ListSocialConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSocialConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListSocialConnectionsResponse.Builder
extends PartnerCentralMarketingResponse.Builder, SdkPojo, CopyableBuilder<ListSocialConnectionsResponse.Builder,ListSocialConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<SocialConnectionSummary> items) The social connections for this partner and catalog.items(Consumer<SocialConnectionSummary.Builder>... items) The social connections for this partner and catalog.items(SocialConnectionSummary... items) The social connections for this partner and catalog.Pagination token for the next page, absent on the last page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralmarketing.model.PartnerCentralMarketingResponse.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
The social connections for this partner and catalog.
- Parameters:
items- The social connections for this partner and catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The social connections for this partner and catalog.
- Parameters:
items- The social connections for this partner and catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The social connections for this partner and catalog.
This is a convenience method that creates an instance of theSocialConnectionSummary.Builderavoiding the need to create one manually viaSocialConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<SocialConnectionSummary>).- Parameters:
items- a consumer that will call methods onSocialConnectionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token for the next page, absent on the last page.
- Parameters:
nextToken- Pagination token for the next page, absent on the last page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-