Struct aws_sdk_ssm::operation::update_resource_data_sync::builders::UpdateResourceDataSyncInputBuilder
source · #[non_exhaustive]pub struct UpdateResourceDataSyncInputBuilder { /* private fields */ }
Expand description
A builder for UpdateResourceDataSyncInput
.
Implementations§
source§impl UpdateResourceDataSyncInputBuilder
impl UpdateResourceDataSyncInputBuilder
sourcepub fn sync_name(self, input: impl Into<String>) -> Self
pub fn sync_name(self, input: impl Into<String>) -> Self
The name of the resource data sync you want to update.
This field is required.sourcepub fn set_sync_name(self, input: Option<String>) -> Self
pub fn set_sync_name(self, input: Option<String>) -> Self
The name of the resource data sync you want to update.
sourcepub fn get_sync_name(&self) -> &Option<String>
pub fn get_sync_name(&self) -> &Option<String>
The name of the resource data sync you want to update.
sourcepub fn sync_type(self, input: impl Into<String>) -> Self
pub fn sync_type(self, input: impl Into<String>) -> Self
The type of resource data sync. The supported SyncType
is SyncFromSource.
sourcepub fn set_sync_type(self, input: Option<String>) -> Self
pub fn set_sync_type(self, input: Option<String>) -> Self
The type of resource data sync. The supported SyncType
is SyncFromSource.
sourcepub fn get_sync_type(&self) -> &Option<String>
pub fn get_sync_type(&self) -> &Option<String>
The type of resource data sync. The supported SyncType
is SyncFromSource.
sourcepub fn sync_source(self, input: ResourceDataSyncSource) -> Self
pub fn sync_source(self, input: ResourceDataSyncSource) -> Self
Specify information about the data sources to synchronize.
This field is required.sourcepub fn set_sync_source(self, input: Option<ResourceDataSyncSource>) -> Self
pub fn set_sync_source(self, input: Option<ResourceDataSyncSource>) -> Self
Specify information about the data sources to synchronize.
sourcepub fn get_sync_source(&self) -> &Option<ResourceDataSyncSource>
pub fn get_sync_source(&self) -> &Option<ResourceDataSyncSource>
Specify information about the data sources to synchronize.
sourcepub fn build(self) -> Result<UpdateResourceDataSyncInput, BuildError>
pub fn build(self) -> Result<UpdateResourceDataSyncInput, BuildError>
Consumes the builder and constructs a UpdateResourceDataSyncInput
.
source§impl UpdateResourceDataSyncInputBuilder
impl UpdateResourceDataSyncInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourceDataSyncOutput, SdkError<UpdateResourceDataSyncError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourceDataSyncOutput, SdkError<UpdateResourceDataSyncError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourceDataSyncInputBuilder
impl Clone for UpdateResourceDataSyncInputBuilder
source§fn clone(&self) -> UpdateResourceDataSyncInputBuilder
fn clone(&self) -> UpdateResourceDataSyncInputBuilder
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 UpdateResourceDataSyncInputBuilder
impl Default for UpdateResourceDataSyncInputBuilder
source§fn default() -> UpdateResourceDataSyncInputBuilder
fn default() -> UpdateResourceDataSyncInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateResourceDataSyncInputBuilder
impl PartialEq for UpdateResourceDataSyncInputBuilder
source§fn eq(&self, other: &UpdateResourceDataSyncInputBuilder) -> bool
fn eq(&self, other: &UpdateResourceDataSyncInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourceDataSyncInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResourceDataSyncInputBuilder
impl Send for UpdateResourceDataSyncInputBuilder
impl Sync for UpdateResourceDataSyncInputBuilder
impl Unpin for UpdateResourceDataSyncInputBuilder
impl UnwindSafe for UpdateResourceDataSyncInputBuilder
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> 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.