Struct aws_sdk_datasync::types::builders::ReportDestinationBuilder
source · #[non_exhaustive]pub struct ReportDestinationBuilder { /* private fields */ }
Expand description
A builder for ReportDestination
.
Implementations§
source§impl ReportDestinationBuilder
impl ReportDestinationBuilder
sourcepub fn s3(self, input: ReportDestinationS3) -> Self
pub fn s3(self, input: ReportDestinationS3) -> Self
Specifies the Amazon S3 bucket where DataSync uploads your task report.
sourcepub fn set_s3(self, input: Option<ReportDestinationS3>) -> Self
pub fn set_s3(self, input: Option<ReportDestinationS3>) -> Self
Specifies the Amazon S3 bucket where DataSync uploads your task report.
sourcepub fn get_s3(&self) -> &Option<ReportDestinationS3>
pub fn get_s3(&self) -> &Option<ReportDestinationS3>
Specifies the Amazon S3 bucket where DataSync uploads your task report.
sourcepub fn build(self) -> ReportDestination
pub fn build(self) -> ReportDestination
Consumes the builder and constructs a ReportDestination
.
Trait Implementations§
source§impl Clone for ReportDestinationBuilder
impl Clone for ReportDestinationBuilder
source§fn clone(&self) -> ReportDestinationBuilder
fn clone(&self) -> ReportDestinationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReportDestinationBuilder
impl Debug for ReportDestinationBuilder
source§impl Default for ReportDestinationBuilder
impl Default for ReportDestinationBuilder
source§fn default() -> ReportDestinationBuilder
fn default() -> ReportDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReportDestinationBuilder
impl PartialEq for ReportDestinationBuilder
source§fn eq(&self, other: &ReportDestinationBuilder) -> bool
fn eq(&self, other: &ReportDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReportDestinationBuilder
Auto Trait Implementations§
impl Freeze for ReportDestinationBuilder
impl RefUnwindSafe for ReportDestinationBuilder
impl Send for ReportDestinationBuilder
impl Sync for ReportDestinationBuilder
impl Unpin for ReportDestinationBuilder
impl UnwindSafe for ReportDestinationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.