pub struct DiskAsyncReplicationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> DiskAsyncReplicationArgsBuilder<S>
impl<S: State> DiskAsyncReplicationArgsBuilder<S>
sourcepub fn build_struct(self) -> DiskAsyncReplicationArgswhere
S: IsComplete,
pub fn build_struct(self) -> DiskAsyncReplicationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn primary_disk(
self,
value: impl Into<Output<String>>,
) -> DiskAsyncReplicationArgsBuilder<SetPrimaryDisk<S>>where
S::PrimaryDisk: IsUnset,
pub fn primary_disk(
self,
value: impl Into<Output<String>>,
) -> DiskAsyncReplicationArgsBuilder<SetPrimaryDisk<S>>where
S::PrimaryDisk: IsUnset,
Required.
The primary disk (source of replication).
sourcepub fn secondary_disk(
self,
value: impl Into<Output<DiskAsyncReplicationSecondaryDisk>>,
) -> DiskAsyncReplicationArgsBuilder<SetSecondaryDisk<S>>where
S::SecondaryDisk: IsUnset,
pub fn secondary_disk(
self,
value: impl Into<Output<DiskAsyncReplicationSecondaryDisk>>,
) -> DiskAsyncReplicationArgsBuilder<SetSecondaryDisk<S>>where
S::SecondaryDisk: IsUnset,
Required.
The secondary disk (target of replication). You can specify only one value. Structure is documented below.
The secondary_disk
block includes:
Auto Trait Implementations§
impl<S> Freeze for DiskAsyncReplicationArgsBuilder<S>
impl<S> RefUnwindSafe for DiskAsyncReplicationArgsBuilder<S>
impl<S> Send for DiskAsyncReplicationArgsBuilder<S>
impl<S> Sync for DiskAsyncReplicationArgsBuilder<S>
impl<S> Unpin for DiskAsyncReplicationArgsBuilder<S>
impl<S> UnwindSafe for DiskAsyncReplicationArgsBuilder<S>
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