Struct aws_sdk_cloudtrail::operation::restore_event_data_store::builders::RestoreEventDataStoreFluentBuilder
source · pub struct RestoreEventDataStoreFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RestoreEventDataStore
.
Restores a deleted event data store specified by EventDataStore
, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
Implementations§
source§impl RestoreEventDataStoreFluentBuilder
impl RestoreEventDataStoreFluentBuilder
sourcepub fn as_input(&self) -> &RestoreEventDataStoreInputBuilder
pub fn as_input(&self) -> &RestoreEventDataStoreInputBuilder
Access the RestoreEventDataStore as a reference.
sourcepub async fn send(
self
) -> Result<RestoreEventDataStoreOutput, SdkError<RestoreEventDataStoreError, HttpResponse>>
pub async fn send( self ) -> Result<RestoreEventDataStoreOutput, SdkError<RestoreEventDataStoreError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<RestoreEventDataStoreOutput, RestoreEventDataStoreError, Self>
pub fn customize( self ) -> CustomizableOperation<RestoreEventDataStoreOutput, RestoreEventDataStoreError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn event_data_store(self, input: impl Into<String>) -> Self
pub fn event_data_store(self, input: impl Into<String>) -> Self
The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.
sourcepub fn set_event_data_store(self, input: Option<String>) -> Self
pub fn set_event_data_store(self, input: Option<String>) -> Self
The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.
sourcepub fn get_event_data_store(&self) -> &Option<String>
pub fn get_event_data_store(&self) -> &Option<String>
The ARN (or the ID suffix of the ARN) of the event data store that you want to restore.
Trait Implementations§
source§impl Clone for RestoreEventDataStoreFluentBuilder
impl Clone for RestoreEventDataStoreFluentBuilder
source§fn clone(&self) -> RestoreEventDataStoreFluentBuilder
fn clone(&self) -> RestoreEventDataStoreFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for RestoreEventDataStoreFluentBuilder
impl !RefUnwindSafe for RestoreEventDataStoreFluentBuilder
impl Send for RestoreEventDataStoreFluentBuilder
impl Sync for RestoreEventDataStoreFluentBuilder
impl Unpin for RestoreEventDataStoreFluentBuilder
impl !UnwindSafe for RestoreEventDataStoreFluentBuilder
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