public static interface UsageReportSubscription.Builder extends SdkPojo, CopyableBuilder<UsageReportSubscription.Builder,UsageReportSubscription>
| Modifier and Type | Method and Description |
|---|---|
UsageReportSubscription.Builder |
lastGeneratedReportDate(Instant lastGeneratedReportDate)
The time when the last usage report was generated.
|
UsageReportSubscription.Builder |
s3BucketName(String s3BucketName)
The Amazon S3 bucket where generated reports are stored.
|
UsageReportSubscription.Builder |
schedule(String schedule)
The schedule for generating usage reports.
|
UsageReportSubscription.Builder |
schedule(UsageReportSchedule schedule)
The schedule for generating usage reports.
|
UsageReportSubscription.Builder |
subscriptionErrors(Collection<LastReportGenerationExecutionError> subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
|
UsageReportSubscription.Builder |
subscriptionErrors(Consumer<LastReportGenerationExecutionError.Builder>... subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
|
UsageReportSubscription.Builder |
subscriptionErrors(LastReportGenerationExecutionError... subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageReportSubscription.Builder s3BucketName(String s3BucketName)
The Amazon S3 bucket where generated reports are stored.
If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
s3BucketName - The Amazon S3 bucket where generated reports are stored.
If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
UsageReportSubscription.Builder schedule(String schedule)
The schedule for generating usage reports.
schedule - The schedule for generating usage reports.UsageReportSchedule,
UsageReportScheduleUsageReportSubscription.Builder schedule(UsageReportSchedule schedule)
The schedule for generating usage reports.
schedule - The schedule for generating usage reports.UsageReportSchedule,
UsageReportScheduleUsageReportSubscription.Builder lastGeneratedReportDate(Instant lastGeneratedReportDate)
The time when the last usage report was generated.
lastGeneratedReportDate - The time when the last usage report was generated.UsageReportSubscription.Builder subscriptionErrors(Collection<LastReportGenerationExecutionError> subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
subscriptionErrors - The errors that were returned if usage reports couldn't be generated.UsageReportSubscription.Builder subscriptionErrors(LastReportGenerationExecutionError... subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
subscriptionErrors - The errors that were returned if usage reports couldn't be generated.UsageReportSubscription.Builder subscriptionErrors(Consumer<LastReportGenerationExecutionError.Builder>... subscriptionErrors)
The errors that were returned if usage reports couldn't be generated.
This is a convenience method that creates an instance of theLastReportGenerationExecutionError.Builder avoiding
the need to create one manually via
LastReportGenerationExecutionError.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #subscriptionErrors(List.
subscriptionErrors - a consumer that will call methods on
LastReportGenerationExecutionError.Builder#subscriptionErrors(java.util.Collection) Copyright © 2023. All rights reserved.