Struct aws_sdk_proton::model::repository_sync_attempt::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RepositorySyncAttempt
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn started_at(self, input: DateTime) -> Self
pub fn started_at(self, input: DateTime) -> Self
The time when the sync attempt started.
sourcepub fn set_started_at(self, input: Option<DateTime>) -> Self
pub fn set_started_at(self, input: Option<DateTime>) -> Self
The time when the sync attempt started.
sourcepub fn status(self, input: RepositorySyncStatus) -> Self
pub fn status(self, input: RepositorySyncStatus) -> Self
The sync attempt status.
sourcepub fn set_status(self, input: Option<RepositorySyncStatus>) -> Self
pub fn set_status(self, input: Option<RepositorySyncStatus>) -> Self
The sync attempt status.
sourcepub fn events(self, input: RepositorySyncEvent) -> Self
pub fn events(self, input: RepositorySyncEvent) -> Self
Appends an item to events
.
To override the contents of this collection use set_events
.
Detail data for sync attempt events.
sourcepub fn set_events(self, input: Option<Vec<RepositorySyncEvent>>) -> Self
pub fn set_events(self, input: Option<Vec<RepositorySyncEvent>>) -> Self
Detail data for sync attempt events.
sourcepub fn build(self) -> RepositorySyncAttempt
pub fn build(self) -> RepositorySyncAttempt
Consumes the builder and constructs a RepositorySyncAttempt
.