Struct aws_sdk_s3::types::builders::ReplicationTimeBuilder
source · #[non_exhaustive]pub struct ReplicationTimeBuilder { /* private fields */ }
Expand description
A builder for ReplicationTime
.
Implementations§
source§impl ReplicationTimeBuilder
impl ReplicationTimeBuilder
sourcepub fn status(self, input: ReplicationTimeStatus) -> Self
pub fn status(self, input: ReplicationTimeStatus) -> Self
Specifies whether the replication time is enabled.
This field is required.sourcepub fn set_status(self, input: Option<ReplicationTimeStatus>) -> Self
pub fn set_status(self, input: Option<ReplicationTimeStatus>) -> Self
Specifies whether the replication time is enabled.
sourcepub fn get_status(&self) -> &Option<ReplicationTimeStatus>
pub fn get_status(&self) -> &Option<ReplicationTimeStatus>
Specifies whether the replication time is enabled.
sourcepub fn time(self, input: ReplicationTimeValue) -> Self
pub fn time(self, input: ReplicationTimeValue) -> Self
A container specifying the time by which replication should be complete for all objects and operations on objects.
This field is required.sourcepub fn set_time(self, input: Option<ReplicationTimeValue>) -> Self
pub fn set_time(self, input: Option<ReplicationTimeValue>) -> Self
A container specifying the time by which replication should be complete for all objects and operations on objects.
sourcepub fn get_time(&self) -> &Option<ReplicationTimeValue>
pub fn get_time(&self) -> &Option<ReplicationTimeValue>
A container specifying the time by which replication should be complete for all objects and operations on objects.
sourcepub fn build(self) -> Result<ReplicationTime, BuildError>
pub fn build(self) -> Result<ReplicationTime, BuildError>
Consumes the builder and constructs a ReplicationTime
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReplicationTimeBuilder
impl Clone for ReplicationTimeBuilder
source§fn clone(&self) -> ReplicationTimeBuilder
fn clone(&self) -> ReplicationTimeBuilder
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 ReplicationTimeBuilder
impl Debug for ReplicationTimeBuilder
source§impl Default for ReplicationTimeBuilder
impl Default for ReplicationTimeBuilder
source§fn default() -> ReplicationTimeBuilder
fn default() -> ReplicationTimeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplicationTimeBuilder
impl PartialEq for ReplicationTimeBuilder
impl StructuralPartialEq for ReplicationTimeBuilder
Auto Trait Implementations§
impl Freeze for ReplicationTimeBuilder
impl RefUnwindSafe for ReplicationTimeBuilder
impl Send for ReplicationTimeBuilder
impl Sync for ReplicationTimeBuilder
impl Unpin for ReplicationTimeBuilder
impl UnwindSafe for ReplicationTimeBuilder
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.