Struct aws_sdk_cloudwatchlogs::types::builders::ExportTaskBuilder
source · #[non_exhaustive]pub struct ExportTaskBuilder { /* private fields */ }
Expand description
A builder for ExportTask
.
Implementations§
source§impl ExportTaskBuilder
impl ExportTaskBuilder
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The ID of the export task.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The ID of the export task.
sourcepub fn set_task_name(self, input: Option<String>) -> Self
pub fn set_task_name(self, input: Option<String>) -> Self
The name of the export task.
sourcepub fn get_task_name(&self) -> &Option<String>
pub fn get_task_name(&self) -> &Option<String>
The name of the export task.
sourcepub fn log_group_name(self, input: impl Into<String>) -> Self
pub fn log_group_name(self, input: impl Into<String>) -> Self
The name of the log group from which logs data was exported.
sourcepub fn set_log_group_name(self, input: Option<String>) -> Self
pub fn set_log_group_name(self, input: Option<String>) -> Self
The name of the log group from which logs data was exported.
sourcepub fn get_log_group_name(&self) -> &Option<String>
pub fn get_log_group_name(&self) -> &Option<String>
The name of the log group from which logs data was exported.
sourcepub fn from(self, input: i64) -> Self
pub fn from(self, input: i64) -> Self
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.
sourcepub fn set_from(self, input: Option<i64>) -> Self
pub fn set_from(self, input: Option<i64>) -> Self
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.
sourcepub fn get_from(&self) -> &Option<i64>
pub fn get_from(&self) -> &Option<i64>
The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp before this time are not exported.
sourcepub fn to(self, input: i64) -> Self
pub fn to(self, input: i64) -> Self
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.
sourcepub fn set_to(self, input: Option<i64>) -> Self
pub fn set_to(self, input: Option<i64>) -> Self
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.
sourcepub fn get_to(&self) -> &Option<i64>
pub fn get_to(&self) -> &Option<i64>
The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
. Events with a timestamp later than this time are not exported.
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The name of the S3 bucket to which the log data was exported.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The name of the S3 bucket to which the log data was exported.
sourcepub fn get_destination(&self) -> &Option<String>
pub fn get_destination(&self) -> &Option<String>
The name of the S3 bucket to which the log data was exported.
sourcepub fn destination_prefix(self, input: impl Into<String>) -> Self
pub fn destination_prefix(self, input: impl Into<String>) -> Self
The prefix that was used as the start of Amazon S3 key for every object exported.
sourcepub fn set_destination_prefix(self, input: Option<String>) -> Self
pub fn set_destination_prefix(self, input: Option<String>) -> Self
The prefix that was used as the start of Amazon S3 key for every object exported.
sourcepub fn get_destination_prefix(&self) -> &Option<String>
pub fn get_destination_prefix(&self) -> &Option<String>
The prefix that was used as the start of Amazon S3 key for every object exported.
sourcepub fn status(self, input: ExportTaskStatus) -> Self
pub fn status(self, input: ExportTaskStatus) -> Self
The status of the export task.
sourcepub fn set_status(self, input: Option<ExportTaskStatus>) -> Self
pub fn set_status(self, input: Option<ExportTaskStatus>) -> Self
The status of the export task.
sourcepub fn get_status(&self) -> &Option<ExportTaskStatus>
pub fn get_status(&self) -> &Option<ExportTaskStatus>
The status of the export task.
sourcepub fn execution_info(self, input: ExportTaskExecutionInfo) -> Self
pub fn execution_info(self, input: ExportTaskExecutionInfo) -> Self
Execution information about the export task.
sourcepub fn set_execution_info(self, input: Option<ExportTaskExecutionInfo>) -> Self
pub fn set_execution_info(self, input: Option<ExportTaskExecutionInfo>) -> Self
Execution information about the export task.
sourcepub fn get_execution_info(&self) -> &Option<ExportTaskExecutionInfo>
pub fn get_execution_info(&self) -> &Option<ExportTaskExecutionInfo>
Execution information about the export task.
sourcepub fn build(self) -> ExportTask
pub fn build(self) -> ExportTask
Consumes the builder and constructs a ExportTask
.
Trait Implementations§
source§impl Clone for ExportTaskBuilder
impl Clone for ExportTaskBuilder
source§fn clone(&self) -> ExportTaskBuilder
fn clone(&self) -> ExportTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportTaskBuilder
impl Debug for ExportTaskBuilder
source§impl Default for ExportTaskBuilder
impl Default for ExportTaskBuilder
source§fn default() -> ExportTaskBuilder
fn default() -> ExportTaskBuilder
source§impl PartialEq for ExportTaskBuilder
impl PartialEq for ExportTaskBuilder
source§fn eq(&self, other: &ExportTaskBuilder) -> bool
fn eq(&self, other: &ExportTaskBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportTaskBuilder
Auto Trait Implementations§
impl Freeze for ExportTaskBuilder
impl RefUnwindSafe for ExportTaskBuilder
impl Send for ExportTaskBuilder
impl Sync for ExportTaskBuilder
impl Unpin for ExportTaskBuilder
impl UnwindSafe for ExportTaskBuilder
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