#[non_exhaustive]pub struct ExportInfoBuilder { /* private fields */ }
Expand description
A builder for ExportInfo
.
Implementations§
source§impl ExportInfoBuilder
impl ExportInfoBuilder
sourcepub fn export_id(self, input: impl Into<String>) -> Self
pub fn export_id(self, input: impl Into<String>) -> Self
A unique identifier used to query an export.
This field is required.sourcepub fn set_export_id(self, input: Option<String>) -> Self
pub fn set_export_id(self, input: Option<String>) -> Self
A unique identifier used to query an export.
sourcepub fn get_export_id(&self) -> &Option<String>
pub fn get_export_id(&self) -> &Option<String>
A unique identifier used to query an export.
sourcepub fn export_status(self, input: ExportStatus) -> Self
pub fn export_status(self, input: ExportStatus) -> Self
The status of the data export job.
This field is required.sourcepub fn set_export_status(self, input: Option<ExportStatus>) -> Self
pub fn set_export_status(self, input: Option<ExportStatus>) -> Self
The status of the data export job.
sourcepub fn get_export_status(&self) -> &Option<ExportStatus>
pub fn get_export_status(&self) -> &Option<ExportStatus>
The status of the data export job.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A status message provided for API callers.
This field is required.sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A status message provided for API callers.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
A status message provided for API callers.
sourcepub fn configurations_download_url(self, input: impl Into<String>) -> Self
pub fn configurations_download_url(self, input: impl Into<String>) -> Self
A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
sourcepub fn set_configurations_download_url(self, input: Option<String>) -> Self
pub fn set_configurations_download_url(self, input: Option<String>) -> Self
A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
sourcepub fn get_configurations_download_url(&self) -> &Option<String>
pub fn get_configurations_download_url(&self) -> &Option<String>
A URL for an Amazon S3 bucket where you can review the exported data. The URL is displayed only if the export succeeded.
sourcepub fn export_request_time(self, input: DateTime) -> Self
pub fn export_request_time(self, input: DateTime) -> Self
The time that the data export was initiated.
This field is required.sourcepub fn set_export_request_time(self, input: Option<DateTime>) -> Self
pub fn set_export_request_time(self, input: Option<DateTime>) -> Self
The time that the data export was initiated.
sourcepub fn get_export_request_time(&self) -> &Option<DateTime>
pub fn get_export_request_time(&self) -> &Option<DateTime>
The time that the data export was initiated.
sourcepub fn is_truncated(self, input: bool) -> Self
pub fn is_truncated(self, input: bool) -> Self
If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate
and endDate
.
sourcepub fn set_is_truncated(self, input: Option<bool>) -> Self
pub fn set_is_truncated(self, input: Option<bool>) -> Self
If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate
and endDate
.
sourcepub fn get_is_truncated(&self) -> &Option<bool>
pub fn get_is_truncated(&self) -> &Option<bool>
If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate
and endDate
.
sourcepub fn requested_start_time(self, input: DateTime) -> Self
pub fn requested_start_time(self, input: DateTime) -> Self
The value of startTime
parameter in the StartExportTask
request. If no startTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn set_requested_start_time(self, input: Option<DateTime>) -> Self
pub fn set_requested_start_time(self, input: Option<DateTime>) -> Self
The value of startTime
parameter in the StartExportTask
request. If no startTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn get_requested_start_time(&self) -> &Option<DateTime>
pub fn get_requested_start_time(&self) -> &Option<DateTime>
The value of startTime
parameter in the StartExportTask
request. If no startTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn requested_end_time(self, input: DateTime) -> Self
pub fn requested_end_time(self, input: DateTime) -> Self
The endTime
used in the StartExportTask
request. If no endTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn set_requested_end_time(self, input: Option<DateTime>) -> Self
pub fn set_requested_end_time(self, input: Option<DateTime>) -> Self
The endTime
used in the StartExportTask
request. If no endTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn get_requested_end_time(&self) -> &Option<DateTime>
pub fn get_requested_end_time(&self) -> &Option<DateTime>
The endTime
used in the StartExportTask
request. If no endTime
was requested, this result does not appear in ExportInfo
.
sourcepub fn build(self) -> Result<ExportInfo, BuildError>
pub fn build(self) -> Result<ExportInfo, BuildError>
Consumes the builder and constructs a ExportInfo
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ExportInfoBuilder
impl Clone for ExportInfoBuilder
source§fn clone(&self) -> ExportInfoBuilder
fn clone(&self) -> ExportInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportInfoBuilder
impl Debug for ExportInfoBuilder
source§impl Default for ExportInfoBuilder
impl Default for ExportInfoBuilder
source§fn default() -> ExportInfoBuilder
fn default() -> ExportInfoBuilder
source§impl PartialEq for ExportInfoBuilder
impl PartialEq for ExportInfoBuilder
source§fn eq(&self, other: &ExportInfoBuilder) -> bool
fn eq(&self, other: &ExportInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.