Struct aws_sdk_ssm::types::builders::ResourceDataSyncItemBuilder
source · #[non_exhaustive]pub struct ResourceDataSyncItemBuilder { /* private fields */ }
Expand description
A builder for ResourceDataSyncItem
.
Implementations§
source§impl ResourceDataSyncItemBuilder
impl ResourceDataSyncItemBuilder
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.
sourcepub fn get_sync_name(&self) -> &Option<String>
pub fn get_sync_name(&self) -> &Option<String>
The name of the resource data sync.
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. If SyncType
is SyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
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. If SyncType
is SyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
sourcepub fn get_sync_type(&self) -> &Option<String>
pub fn get_sync_type(&self) -> &Option<String>
The type of resource data sync. If SyncType
is SyncToDestination
, then the resource data sync synchronizes data to an S3 bucket. If the SyncType
is SyncFromSource
then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.
sourcepub fn sync_source(self, input: ResourceDataSyncSourceWithState) -> Self
pub fn sync_source(self, input: ResourceDataSyncSourceWithState) -> Self
Information about the source where the data was synchronized.
sourcepub fn set_sync_source(
self,
input: Option<ResourceDataSyncSourceWithState>
) -> Self
pub fn set_sync_source( self, input: Option<ResourceDataSyncSourceWithState> ) -> Self
Information about the source where the data was synchronized.
sourcepub fn get_sync_source(&self) -> &Option<ResourceDataSyncSourceWithState>
pub fn get_sync_source(&self) -> &Option<ResourceDataSyncSourceWithState>
Information about the source where the data was synchronized.
sourcepub fn s3_destination(self, input: ResourceDataSyncS3Destination) -> Self
pub fn s3_destination(self, input: ResourceDataSyncS3Destination) -> Self
Configuration information for the target S3 bucket.
sourcepub fn set_s3_destination(
self,
input: Option<ResourceDataSyncS3Destination>
) -> Self
pub fn set_s3_destination( self, input: Option<ResourceDataSyncS3Destination> ) -> Self
Configuration information for the target S3 bucket.
sourcepub fn get_s3_destination(&self) -> &Option<ResourceDataSyncS3Destination>
pub fn get_s3_destination(&self) -> &Option<ResourceDataSyncS3Destination>
Configuration information for the target S3 bucket.
sourcepub fn last_sync_time(self, input: DateTime) -> Self
pub fn last_sync_time(self, input: DateTime) -> Self
The last time the configuration attempted to sync (UTC).
sourcepub fn set_last_sync_time(self, input: Option<DateTime>) -> Self
pub fn set_last_sync_time(self, input: Option<DateTime>) -> Self
The last time the configuration attempted to sync (UTC).
sourcepub fn get_last_sync_time(&self) -> &Option<DateTime>
pub fn get_last_sync_time(&self) -> &Option<DateTime>
The last time the configuration attempted to sync (UTC).
sourcepub fn last_successful_sync_time(self, input: DateTime) -> Self
pub fn last_successful_sync_time(self, input: DateTime) -> Self
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
sourcepub fn set_last_successful_sync_time(self, input: Option<DateTime>) -> Self
pub fn set_last_successful_sync_time(self, input: Option<DateTime>) -> Self
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
sourcepub fn get_last_successful_sync_time(&self) -> &Option<DateTime>
pub fn get_last_successful_sync_time(&self) -> &Option<DateTime>
The last time the sync operations returned a status of SUCCESSFUL
(UTC).
sourcepub fn sync_last_modified_time(self, input: DateTime) -> Self
pub fn sync_last_modified_time(self, input: DateTime) -> Self
The date and time the resource data sync was changed.
sourcepub fn set_sync_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_sync_last_modified_time(self, input: Option<DateTime>) -> Self
The date and time the resource data sync was changed.
sourcepub fn get_sync_last_modified_time(&self) -> &Option<DateTime>
pub fn get_sync_last_modified_time(&self) -> &Option<DateTime>
The date and time the resource data sync was changed.
sourcepub fn last_status(self, input: LastResourceDataSyncStatus) -> Self
pub fn last_status(self, input: LastResourceDataSyncStatus) -> Self
The status reported by the last sync.
sourcepub fn set_last_status(self, input: Option<LastResourceDataSyncStatus>) -> Self
pub fn set_last_status(self, input: Option<LastResourceDataSyncStatus>) -> Self
The status reported by the last sync.
sourcepub fn get_last_status(&self) -> &Option<LastResourceDataSyncStatus>
pub fn get_last_status(&self) -> &Option<LastResourceDataSyncStatus>
The status reported by the last sync.
sourcepub fn sync_created_time(self, input: DateTime) -> Self
pub fn sync_created_time(self, input: DateTime) -> Self
The date and time the configuration was created (UTC).
sourcepub fn set_sync_created_time(self, input: Option<DateTime>) -> Self
pub fn set_sync_created_time(self, input: Option<DateTime>) -> Self
The date and time the configuration was created (UTC).
sourcepub fn get_sync_created_time(&self) -> &Option<DateTime>
pub fn get_sync_created_time(&self) -> &Option<DateTime>
The date and time the configuration was created (UTC).
sourcepub fn last_sync_status_message(self, input: impl Into<String>) -> Self
pub fn last_sync_status_message(self, input: impl Into<String>) -> Self
The status message details reported by the last sync.
sourcepub fn set_last_sync_status_message(self, input: Option<String>) -> Self
pub fn set_last_sync_status_message(self, input: Option<String>) -> Self
The status message details reported by the last sync.
sourcepub fn get_last_sync_status_message(&self) -> &Option<String>
pub fn get_last_sync_status_message(&self) -> &Option<String>
The status message details reported by the last sync.
sourcepub fn build(self) -> ResourceDataSyncItem
pub fn build(self) -> ResourceDataSyncItem
Consumes the builder and constructs a ResourceDataSyncItem
.
Trait Implementations§
source§impl Clone for ResourceDataSyncItemBuilder
impl Clone for ResourceDataSyncItemBuilder
source§fn clone(&self) -> ResourceDataSyncItemBuilder
fn clone(&self) -> ResourceDataSyncItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceDataSyncItemBuilder
impl Debug for ResourceDataSyncItemBuilder
source§impl Default for ResourceDataSyncItemBuilder
impl Default for ResourceDataSyncItemBuilder
source§fn default() -> ResourceDataSyncItemBuilder
fn default() -> ResourceDataSyncItemBuilder
source§impl PartialEq for ResourceDataSyncItemBuilder
impl PartialEq for ResourceDataSyncItemBuilder
source§fn eq(&self, other: &ResourceDataSyncItemBuilder) -> bool
fn eq(&self, other: &ResourceDataSyncItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceDataSyncItemBuilder
Auto Trait Implementations§
impl Freeze for ResourceDataSyncItemBuilder
impl RefUnwindSafe for ResourceDataSyncItemBuilder
impl Send for ResourceDataSyncItemBuilder
impl Sync for ResourceDataSyncItemBuilder
impl Unpin for ResourceDataSyncItemBuilder
impl UnwindSafe for ResourceDataSyncItemBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more