#[non_exhaustive]pub struct ExistingObjectReplicationBuilder { /* private fields */ }
Expand description
A builder for ExistingObjectReplication
.
Implementations§
source§impl ExistingObjectReplicationBuilder
impl ExistingObjectReplicationBuilder
sourcepub fn status(self, input: ExistingObjectReplicationStatus) -> Self
pub fn status(self, input: ExistingObjectReplicationStatus) -> Self
Specifies whether Amazon S3 replicates existing source bucket objects.
This field is required.sourcepub fn set_status(self, input: Option<ExistingObjectReplicationStatus>) -> Self
pub fn set_status(self, input: Option<ExistingObjectReplicationStatus>) -> Self
Specifies whether Amazon S3 replicates existing source bucket objects.
sourcepub fn get_status(&self) -> &Option<ExistingObjectReplicationStatus>
pub fn get_status(&self) -> &Option<ExistingObjectReplicationStatus>
Specifies whether Amazon S3 replicates existing source bucket objects.
sourcepub fn build(self) -> Result<ExistingObjectReplication, BuildError>
pub fn build(self) -> Result<ExistingObjectReplication, BuildError>
Consumes the builder and constructs a ExistingObjectReplication
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ExistingObjectReplicationBuilder
impl Clone for ExistingObjectReplicationBuilder
source§fn clone(&self) -> ExistingObjectReplicationBuilder
fn clone(&self) -> ExistingObjectReplicationBuilder
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 Default for ExistingObjectReplicationBuilder
impl Default for ExistingObjectReplicationBuilder
source§fn default() -> ExistingObjectReplicationBuilder
fn default() -> ExistingObjectReplicationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExistingObjectReplicationBuilder
impl PartialEq for ExistingObjectReplicationBuilder
source§fn eq(&self, other: &ExistingObjectReplicationBuilder) -> bool
fn eq(&self, other: &ExistingObjectReplicationBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExistingObjectReplicationBuilder
Auto Trait Implementations§
impl Freeze for ExistingObjectReplicationBuilder
impl RefUnwindSafe for ExistingObjectReplicationBuilder
impl Send for ExistingObjectReplicationBuilder
impl Sync for ExistingObjectReplicationBuilder
impl Unpin for ExistingObjectReplicationBuilder
impl UnwindSafe for ExistingObjectReplicationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Creates a shared type from an unshared type.