Interface DescribeUsageReportSubscriptionsResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeUsageReportSubscriptionsResponse.Builder,
,DescribeUsageReportSubscriptionsResponse> SdkBuilder<DescribeUsageReportSubscriptionsResponse.Builder,
,DescribeUsageReportSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeUsageReportSubscriptionsResponse
public static interface DescribeUsageReportSubscriptionsResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeUsageReportSubscriptionsResponse.Builder,DescribeUsageReportSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use to retrieve the next page of results for this operation.usageReportSubscriptions
(Collection<UsageReportSubscription> usageReportSubscriptions) Information about the usage report subscription.usageReportSubscriptions
(Consumer<UsageReportSubscription.Builder>... usageReportSubscriptions) Information about the usage report subscription.usageReportSubscriptions
(UsageReportSubscription... usageReportSubscriptions) Information about the usage report subscription.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
usageReportSubscriptions
DescribeUsageReportSubscriptionsResponse.Builder usageReportSubscriptions(Collection<UsageReportSubscription> usageReportSubscriptions) Information about the usage report subscription.
- Parameters:
usageReportSubscriptions
- Information about the usage report subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageReportSubscriptions
DescribeUsageReportSubscriptionsResponse.Builder usageReportSubscriptions(UsageReportSubscription... usageReportSubscriptions) Information about the usage report subscription.
- Parameters:
usageReportSubscriptions
- Information about the usage report subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageReportSubscriptions
DescribeUsageReportSubscriptionsResponse.Builder usageReportSubscriptions(Consumer<UsageReportSubscription.Builder>... usageReportSubscriptions) Information about the usage report subscription.
This is a convenience method that creates an instance of theUsageReportSubscription.Builder
avoiding the need to create one manually viaUsageReportSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousageReportSubscriptions(List<UsageReportSubscription>)
.- Parameters:
usageReportSubscriptions
- a consumer that will call methods onUsageReportSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-