Struct aws_sdk_appstream::operation::create_usage_report_subscription::builders::CreateUsageReportSubscriptionOutputBuilder
source · #[non_exhaustive]pub struct CreateUsageReportSubscriptionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateUsageReportSubscriptionOutput
.
Implementations§
source§impl CreateUsageReportSubscriptionOutputBuilder
impl CreateUsageReportSubscriptionOutputBuilder
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
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.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
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.
sourcepub fn schedule(self, input: UsageReportSchedule) -> Self
pub fn schedule(self, input: UsageReportSchedule) -> Self
The schedule for generating usage reports.
sourcepub fn set_schedule(self, input: Option<UsageReportSchedule>) -> Self
pub fn set_schedule(self, input: Option<UsageReportSchedule>) -> Self
The schedule for generating usage reports.
sourcepub fn get_schedule(&self) -> &Option<UsageReportSchedule>
pub fn get_schedule(&self) -> &Option<UsageReportSchedule>
The schedule for generating usage reports.
sourcepub fn build(self) -> CreateUsageReportSubscriptionOutput
pub fn build(self) -> CreateUsageReportSubscriptionOutput
Consumes the builder and constructs a CreateUsageReportSubscriptionOutput
.
Trait Implementations§
source§impl Clone for CreateUsageReportSubscriptionOutputBuilder
impl Clone for CreateUsageReportSubscriptionOutputBuilder
source§fn clone(&self) -> CreateUsageReportSubscriptionOutputBuilder
fn clone(&self) -> CreateUsageReportSubscriptionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateUsageReportSubscriptionOutputBuilder
impl Default for CreateUsageReportSubscriptionOutputBuilder
source§fn default() -> CreateUsageReportSubscriptionOutputBuilder
fn default() -> CreateUsageReportSubscriptionOutputBuilder
source§impl PartialEq for CreateUsageReportSubscriptionOutputBuilder
impl PartialEq for CreateUsageReportSubscriptionOutputBuilder
source§fn eq(&self, other: &CreateUsageReportSubscriptionOutputBuilder) -> bool
fn eq(&self, other: &CreateUsageReportSubscriptionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.