Struct aws_sdk_eventbridge::types::builders::ReplayBuilder
source · #[non_exhaustive]pub struct ReplayBuilder { /* private fields */ }Expand description
A builder for Replay.
Implementations§
source§impl ReplayBuilder
impl ReplayBuilder
sourcepub fn replay_name(self, input: impl Into<String>) -> Self
pub fn replay_name(self, input: impl Into<String>) -> Self
The name of the replay.
sourcepub fn set_replay_name(self, input: Option<String>) -> Self
pub fn set_replay_name(self, input: Option<String>) -> Self
The name of the replay.
sourcepub fn get_replay_name(&self) -> &Option<String>
pub fn get_replay_name(&self) -> &Option<String>
The name of the replay.
sourcepub fn event_source_arn(self, input: impl Into<String>) -> Self
pub fn event_source_arn(self, input: impl Into<String>) -> Self
The ARN of the archive to replay event from.
sourcepub fn set_event_source_arn(self, input: Option<String>) -> Self
pub fn set_event_source_arn(self, input: Option<String>) -> Self
The ARN of the archive to replay event from.
sourcepub fn get_event_source_arn(&self) -> &Option<String>
pub fn get_event_source_arn(&self) -> &Option<String>
The ARN of the archive to replay event from.
sourcepub fn state(self, input: ReplayState) -> Self
pub fn state(self, input: ReplayState) -> Self
The current state of the replay.
sourcepub fn set_state(self, input: Option<ReplayState>) -> Self
pub fn set_state(self, input: Option<ReplayState>) -> Self
The current state of the replay.
sourcepub fn get_state(&self) -> &Option<ReplayState>
pub fn get_state(&self) -> &Option<ReplayState>
The current state of the replay.
sourcepub fn state_reason(self, input: impl Into<String>) -> Self
pub fn state_reason(self, input: impl Into<String>) -> Self
A description of why the replay is in the current state.
sourcepub fn set_state_reason(self, input: Option<String>) -> Self
pub fn set_state_reason(self, input: Option<String>) -> Self
A description of why the replay is in the current state.
sourcepub fn get_state_reason(&self) -> &Option<String>
pub fn get_state_reason(&self) -> &Option<String>
A description of why the replay is in the current state.
sourcepub fn event_start_time(self, input: DateTime) -> Self
pub fn event_start_time(self, input: DateTime) -> Self
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
sourcepub fn set_event_start_time(self, input: Option<DateTime>) -> Self
pub fn set_event_start_time(self, input: Option<DateTime>) -> Self
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
sourcepub fn get_event_start_time(&self) -> &Option<DateTime>
pub fn get_event_start_time(&self) -> &Option<DateTime>
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
sourcepub fn event_end_time(self, input: DateTime) -> Self
pub fn event_end_time(self, input: DateTime) -> Self
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime specified is replayed.
sourcepub fn set_event_end_time(self, input: Option<DateTime>) -> Self
pub fn set_event_end_time(self, input: Option<DateTime>) -> Self
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime specified is replayed.
sourcepub fn get_event_end_time(&self) -> &Option<DateTime>
pub fn get_event_end_time(&self) -> &Option<DateTime>
A time stamp for the time to start replaying events. Any event with a creation time prior to the EventEndTime specified is replayed.
sourcepub fn event_last_replayed_time(self, input: DateTime) -> Self
pub fn event_last_replayed_time(self, input: DateTime) -> Self
A time stamp for the time that the last event was replayed.
sourcepub fn set_event_last_replayed_time(self, input: Option<DateTime>) -> Self
pub fn set_event_last_replayed_time(self, input: Option<DateTime>) -> Self
A time stamp for the time that the last event was replayed.
sourcepub fn get_event_last_replayed_time(&self) -> &Option<DateTime>
pub fn get_event_last_replayed_time(&self) -> &Option<DateTime>
A time stamp for the time that the last event was replayed.
sourcepub fn replay_start_time(self, input: DateTime) -> Self
pub fn replay_start_time(self, input: DateTime) -> Self
A time stamp for the time that the replay started.
sourcepub fn set_replay_start_time(self, input: Option<DateTime>) -> Self
pub fn set_replay_start_time(self, input: Option<DateTime>) -> Self
A time stamp for the time that the replay started.
sourcepub fn get_replay_start_time(&self) -> &Option<DateTime>
pub fn get_replay_start_time(&self) -> &Option<DateTime>
A time stamp for the time that the replay started.
sourcepub fn replay_end_time(self, input: DateTime) -> Self
pub fn replay_end_time(self, input: DateTime) -> Self
A time stamp for the time that the replay completed.
sourcepub fn set_replay_end_time(self, input: Option<DateTime>) -> Self
pub fn set_replay_end_time(self, input: Option<DateTime>) -> Self
A time stamp for the time that the replay completed.
sourcepub fn get_replay_end_time(&self) -> &Option<DateTime>
pub fn get_replay_end_time(&self) -> &Option<DateTime>
A time stamp for the time that the replay completed.
Trait Implementations§
source§impl Clone for ReplayBuilder
impl Clone for ReplayBuilder
source§fn clone(&self) -> ReplayBuilder
fn clone(&self) -> ReplayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplayBuilder
impl Debug for ReplayBuilder
source§impl Default for ReplayBuilder
impl Default for ReplayBuilder
source§fn default() -> ReplayBuilder
fn default() -> ReplayBuilder
source§impl PartialEq for ReplayBuilder
impl PartialEq for ReplayBuilder
source§fn eq(&self, other: &ReplayBuilder) -> bool
fn eq(&self, other: &ReplayBuilder) -> bool
self and other values to be equal, and is used
by ==.