Interface ListDataSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSubscriptionsResponse.Builder,,ListDataSubscriptionsResponse> PartnerCentralAnalyticsResponse.Builder,SdkBuilder<ListDataSubscriptionsResponse.Builder,,ListDataSubscriptionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDataSubscriptionsResponse
@Mutable
@NotThreadSafe
public static interface ListDataSubscriptionsResponse.Builder
extends PartnerCentralAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<ListDataSubscriptionsResponse.Builder,ListDataSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataSubscriptions(Collection<DataSubscriptionSummary> dataSubscriptions) The data subscriptions owned by the caller, as summaries.dataSubscriptions(Consumer<DataSubscriptionSummary.Builder>... dataSubscriptions) The data subscriptions owned by the caller, as summaries.dataSubscriptions(DataSubscriptionSummary... dataSubscriptions) The data subscriptions owned by the caller, as summaries.Opaque pagination token to fetch the next page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralanalytics.model.PartnerCentralAnalyticsResponse.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
-
dataSubscriptions
ListDataSubscriptionsResponse.Builder dataSubscriptions(Collection<DataSubscriptionSummary> dataSubscriptions) The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.
- Parameters:
dataSubscriptions- The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSubscriptions
ListDataSubscriptionsResponse.Builder dataSubscriptions(DataSubscriptionSummary... dataSubscriptions) The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.
- Parameters:
dataSubscriptions- The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSubscriptions
ListDataSubscriptionsResponse.Builder dataSubscriptions(Consumer<DataSubscriptionSummary.Builder>... dataSubscriptions) The data subscriptions owned by the caller, as summaries. Empty when the caller has no subscriptions. Call GetDataSubscription for the full detail of an entry.
This is a convenience method that creates an instance of theDataSubscriptionSummary.Builderavoiding the need to create one manually viaDataSubscriptionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSubscriptions(List<DataSubscriptionSummary>).- Parameters:
dataSubscriptions- a consumer that will call methods onDataSubscriptionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Opaque pagination token to fetch the next page. Absent when no more results exist.
- Parameters:
nextToken- Opaque pagination token to fetch the next page. Absent when no more results exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-