Struct aws_sdk_applicationcostprofiler::operation::get_report_definition::builders::GetReportDefinitionOutputBuilder
source · #[non_exhaustive]pub struct GetReportDefinitionOutputBuilder { /* private fields */ }Expand description
A builder for GetReportDefinitionOutput.
Implementations§
source§impl GetReportDefinitionOutputBuilder
impl GetReportDefinitionOutputBuilder
sourcepub fn report_id(self, input: impl Into<String>) -> Self
pub fn report_id(self, input: impl Into<String>) -> Self
ID of the report retrieved.
This field is required.sourcepub fn set_report_id(self, input: Option<String>) -> Self
pub fn set_report_id(self, input: Option<String>) -> Self
ID of the report retrieved.
sourcepub fn get_report_id(&self) -> &Option<String>
pub fn get_report_id(&self) -> &Option<String>
ID of the report retrieved.
sourcepub fn report_description(self, input: impl Into<String>) -> Self
pub fn report_description(self, input: impl Into<String>) -> Self
Description of the report.
This field is required.sourcepub fn set_report_description(self, input: Option<String>) -> Self
pub fn set_report_description(self, input: Option<String>) -> Self
Description of the report.
sourcepub fn get_report_description(&self) -> &Option<String>
pub fn get_report_description(&self) -> &Option<String>
Description of the report.
sourcepub fn report_frequency(self, input: ReportFrequency) -> Self
pub fn report_frequency(self, input: ReportFrequency) -> Self
Cadence used to generate the report.
This field is required.sourcepub fn set_report_frequency(self, input: Option<ReportFrequency>) -> Self
pub fn set_report_frequency(self, input: Option<ReportFrequency>) -> Self
Cadence used to generate the report.
sourcepub fn get_report_frequency(&self) -> &Option<ReportFrequency>
pub fn get_report_frequency(&self) -> &Option<ReportFrequency>
Cadence used to generate the report.
sourcepub fn format(self, input: Format) -> Self
pub fn format(self, input: Format) -> Self
Format of the generated report.
This field is required.sourcepub fn set_format(self, input: Option<Format>) -> Self
pub fn set_format(self, input: Option<Format>) -> Self
Format of the generated report.
sourcepub fn get_format(&self) -> &Option<Format>
pub fn get_format(&self) -> &Option<Format>
Format of the generated report.
sourcepub fn destination_s3_location(self, input: S3Location) -> Self
pub fn destination_s3_location(self, input: S3Location) -> Self
Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
This field is required.sourcepub fn set_destination_s3_location(self, input: Option<S3Location>) -> Self
pub fn set_destination_s3_location(self, input: Option<S3Location>) -> Self
Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
sourcepub fn get_destination_s3_location(&self) -> &Option<S3Location>
pub fn get_destination_s3_location(&self) -> &Option<S3Location>
Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Timestamp (milliseconds) when this report definition was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Timestamp (milliseconds) when this report definition was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Timestamp (milliseconds) when this report definition was created.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
Timestamp (milliseconds) when this report definition was last updated.
This field is required.sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
Timestamp (milliseconds) when this report definition was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
Timestamp (milliseconds) when this report definition was last updated.
sourcepub fn build(self) -> Result<GetReportDefinitionOutput, BuildError>
pub fn build(self) -> Result<GetReportDefinitionOutput, BuildError>
Consumes the builder and constructs a GetReportDefinitionOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetReportDefinitionOutputBuilder
impl Clone for GetReportDefinitionOutputBuilder
source§fn clone(&self) -> GetReportDefinitionOutputBuilder
fn clone(&self) -> GetReportDefinitionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetReportDefinitionOutputBuilder
impl Default for GetReportDefinitionOutputBuilder
source§fn default() -> GetReportDefinitionOutputBuilder
fn default() -> GetReportDefinitionOutputBuilder
source§impl PartialEq for GetReportDefinitionOutputBuilder
impl PartialEq for GetReportDefinitionOutputBuilder
source§fn eq(&self, other: &GetReportDefinitionOutputBuilder) -> bool
fn eq(&self, other: &GetReportDefinitionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.