Struct aws_sdk_s3::types::builders::ReplicaModificationsBuilder
source · #[non_exhaustive]pub struct ReplicaModificationsBuilder { /* private fields */ }
Expand description
A builder for ReplicaModifications
.
Implementations§
source§impl ReplicaModificationsBuilder
impl ReplicaModificationsBuilder
sourcepub fn status(self, input: ReplicaModificationsStatus) -> Self
pub fn status(self, input: ReplicaModificationsStatus) -> Self
Specifies whether Amazon S3 replicates modifications on replicas.
This field is required.sourcepub fn set_status(self, input: Option<ReplicaModificationsStatus>) -> Self
pub fn set_status(self, input: Option<ReplicaModificationsStatus>) -> Self
Specifies whether Amazon S3 replicates modifications on replicas.
sourcepub fn get_status(&self) -> &Option<ReplicaModificationsStatus>
pub fn get_status(&self) -> &Option<ReplicaModificationsStatus>
Specifies whether Amazon S3 replicates modifications on replicas.
sourcepub fn build(self) -> Result<ReplicaModifications, BuildError>
pub fn build(self) -> Result<ReplicaModifications, BuildError>
Consumes the builder and constructs a ReplicaModifications
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReplicaModificationsBuilder
impl Clone for ReplicaModificationsBuilder
source§fn clone(&self) -> ReplicaModificationsBuilder
fn clone(&self) -> ReplicaModificationsBuilder
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 ReplicaModificationsBuilder
impl Debug for ReplicaModificationsBuilder
source§impl Default for ReplicaModificationsBuilder
impl Default for ReplicaModificationsBuilder
source§fn default() -> ReplicaModificationsBuilder
fn default() -> ReplicaModificationsBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ReplicaModificationsBuilder
Auto Trait Implementations§
impl Freeze for ReplicaModificationsBuilder
impl RefUnwindSafe for ReplicaModificationsBuilder
impl Send for ReplicaModificationsBuilder
impl Sync for ReplicaModificationsBuilder
impl Unpin for ReplicaModificationsBuilder
impl UnwindSafe for ReplicaModificationsBuilder
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.