pub struct ObjectReplicationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ObjectReplicationArgsBuilder<S>
impl<S: State> ObjectReplicationArgsBuilder<S>
sourcepub fn build_struct(self) -> ObjectReplicationArgswhere
S: IsComplete,
pub fn build_struct(self) -> ObjectReplicationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn destination_storage_account_id(
self,
value: impl Into<Output<String>>,
) -> ObjectReplicationArgsBuilder<SetDestinationStorageAccountId<S>>where
S::DestinationStorageAccountId: IsUnset,
pub fn destination_storage_account_id(
self,
value: impl Into<Output<String>>,
) -> ObjectReplicationArgsBuilder<SetDestinationStorageAccountId<S>>where
S::DestinationStorageAccountId: IsUnset,
Required.
The ID of the destination storage account. Changing this forces a new Storage Object Replication to be created.
sourcepub fn rules(
self,
value: impl Into<Output<Vec<ObjectReplicationRule>>>,
) -> ObjectReplicationArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn rules(
self,
value: impl Into<Output<Vec<ObjectReplicationRule>>>,
) -> ObjectReplicationArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
Required.
One or more rules
blocks as defined below.
sourcepub fn source_storage_account_id(
self,
value: impl Into<Output<String>>,
) -> ObjectReplicationArgsBuilder<SetSourceStorageAccountId<S>>where
S::SourceStorageAccountId: IsUnset,
pub fn source_storage_account_id(
self,
value: impl Into<Output<String>>,
) -> ObjectReplicationArgsBuilder<SetSourceStorageAccountId<S>>where
S::SourceStorageAccountId: IsUnset,
Required.
The ID of the source storage account. Changing this forces a new Storage Object Replication to be created.
Auto Trait Implementations§
impl<S> Freeze for ObjectReplicationArgsBuilder<S>
impl<S> RefUnwindSafe for ObjectReplicationArgsBuilder<S>
impl<S> Send for ObjectReplicationArgsBuilder<S>
impl<S> Sync for ObjectReplicationArgsBuilder<S>
impl<S> Unpin for ObjectReplicationArgsBuilder<S>
impl<S> UnwindSafe for ObjectReplicationArgsBuilder<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