Struct aws_sdk_alexaforbusiness::operation::create_business_report_schedule::builders::CreateBusinessReportScheduleFluentBuilder
source ยท pub struct CreateBusinessReportScheduleFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateBusinessReportSchedule
.
Creates a recurring schedule for usage reports to deliver to the specified S3 location with a specified daily or weekly interval.
Implementationsยง
sourceยงimpl CreateBusinessReportScheduleFluentBuilder
impl CreateBusinessReportScheduleFluentBuilder
sourcepub fn as_input(&self) -> &CreateBusinessReportScheduleInputBuilder
pub fn as_input(&self) -> &CreateBusinessReportScheduleInputBuilder
Access the CreateBusinessReportSchedule as a reference.
sourcepub async fn send(
self
) -> Result<CreateBusinessReportScheduleOutput, SdkError<CreateBusinessReportScheduleError, HttpResponse>>
pub async fn send( self ) -> Result<CreateBusinessReportScheduleOutput, SdkError<CreateBusinessReportScheduleError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateBusinessReportScheduleOutput, CreateBusinessReportScheduleError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateBusinessReportScheduleOutput, CreateBusinessReportScheduleError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn schedule_name(self, input: impl Into<String>) -> Self
pub fn schedule_name(self, input: impl Into<String>) -> Self
The name identifier of the schedule.
sourcepub fn set_schedule_name(self, input: Option<String>) -> Self
pub fn set_schedule_name(self, input: Option<String>) -> Self
The name identifier of the schedule.
sourcepub fn get_schedule_name(&self) -> &Option<String>
pub fn get_schedule_name(&self) -> &Option<String>
The name identifier of the schedule.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.
sourcepub fn s3_key_prefix(self, input: impl Into<String>) -> Self
pub fn s3_key_prefix(self, input: impl Into<String>) -> Self
The S3 key where the report is delivered.
sourcepub fn set_s3_key_prefix(self, input: Option<String>) -> Self
pub fn set_s3_key_prefix(self, input: Option<String>) -> Self
The S3 key where the report is delivered.
sourcepub fn get_s3_key_prefix(&self) -> &Option<String>
pub fn get_s3_key_prefix(&self) -> &Option<String>
The S3 key where the report is delivered.
sourcepub fn format(self, input: BusinessReportFormat) -> Self
pub fn format(self, input: BusinessReportFormat) -> Self
The format of the generated report (individual CSV files or zipped files of individual files).
sourcepub fn set_format(self, input: Option<BusinessReportFormat>) -> Self
pub fn set_format(self, input: Option<BusinessReportFormat>) -> Self
The format of the generated report (individual CSV files or zipped files of individual files).
sourcepub fn get_format(&self) -> &Option<BusinessReportFormat>
pub fn get_format(&self) -> &Option<BusinessReportFormat>
The format of the generated report (individual CSV files or zipped files of individual files).
sourcepub fn content_range(self, input: BusinessReportContentRange) -> Self
pub fn content_range(self, input: BusinessReportContentRange) -> Self
The content range of the reports.
sourcepub fn set_content_range(
self,
input: Option<BusinessReportContentRange>
) -> Self
pub fn set_content_range( self, input: Option<BusinessReportContentRange> ) -> Self
The content range of the reports.
sourcepub fn get_content_range(&self) -> &Option<BusinessReportContentRange>
pub fn get_content_range(&self) -> &Option<BusinessReportContentRange>
The content range of the reports.
sourcepub fn recurrence(self, input: BusinessReportRecurrence) -> Self
pub fn recurrence(self, input: BusinessReportRecurrence) -> Self
The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.
sourcepub fn set_recurrence(self, input: Option<BusinessReportRecurrence>) -> Self
pub fn set_recurrence(self, input: Option<BusinessReportRecurrence>) -> Self
The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.
sourcepub fn get_recurrence(&self) -> &Option<BusinessReportRecurrence>
pub fn get_recurrence(&self) -> &Option<BusinessReportRecurrence>
The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
The client request token.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
The client request token.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
The client request token.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags for the business report schedule.
The tags for the business report schedule.
The tags for the business report schedule.
Trait Implementationsยง
sourceยงimpl Clone for CreateBusinessReportScheduleFluentBuilder
impl Clone for CreateBusinessReportScheduleFluentBuilder
sourceยงfn clone(&self) -> CreateBusinessReportScheduleFluentBuilder
fn clone(&self) -> CreateBusinessReportScheduleFluentBuilder
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementationsยง
impl Freeze for CreateBusinessReportScheduleFluentBuilder
impl !RefUnwindSafe for CreateBusinessReportScheduleFluentBuilder
impl Send for CreateBusinessReportScheduleFluentBuilder
impl Sync for CreateBusinessReportScheduleFluentBuilder
impl Unpin for CreateBusinessReportScheduleFluentBuilder
impl !UnwindSafe for CreateBusinessReportScheduleFluentBuilder
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more