#[non_exhaustive]pub struct UpdateArchiveInputBuilder { /* private fields */ }Expand description
A builder for UpdateArchiveInput.
Implementations§
source§impl UpdateArchiveInputBuilder
impl UpdateArchiveInputBuilder
sourcepub fn archive_name(self, input: impl Into<String>) -> Self
pub fn archive_name(self, input: impl Into<String>) -> Self
The name of the archive to update.
sourcepub fn set_archive_name(self, input: Option<String>) -> Self
pub fn set_archive_name(self, input: Option<String>) -> Self
The name of the archive to update.
sourcepub fn get_archive_name(&self) -> &Option<String>
pub fn get_archive_name(&self) -> &Option<String>
The name of the archive to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the archive.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the archive.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the archive.
sourcepub fn event_pattern(self, input: impl Into<String>) -> Self
pub fn event_pattern(self, input: impl Into<String>) -> Self
The event pattern to use to filter events sent to the archive.
sourcepub fn set_event_pattern(self, input: Option<String>) -> Self
pub fn set_event_pattern(self, input: Option<String>) -> Self
The event pattern to use to filter events sent to the archive.
sourcepub fn get_event_pattern(&self) -> &Option<String>
pub fn get_event_pattern(&self) -> &Option<String>
The event pattern to use to filter events sent to the archive.
sourcepub fn retention_days(self, input: i32) -> Self
pub fn retention_days(self, input: i32) -> Self
The number of days to retain events in the archive.
sourcepub fn set_retention_days(self, input: Option<i32>) -> Self
pub fn set_retention_days(self, input: Option<i32>) -> Self
The number of days to retain events in the archive.
sourcepub fn get_retention_days(&self) -> &Option<i32>
pub fn get_retention_days(&self) -> &Option<i32>
The number of days to retain events in the archive.
sourcepub fn build(self) -> Result<UpdateArchiveInput, BuildError>
pub fn build(self) -> Result<UpdateArchiveInput, BuildError>
Consumes the builder and constructs a UpdateArchiveInput.
source§impl UpdateArchiveInputBuilder
impl UpdateArchiveInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateArchiveOutput, SdkError<UpdateArchiveError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateArchiveOutput, SdkError<UpdateArchiveError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateArchiveInputBuilder
impl Clone for UpdateArchiveInputBuilder
source§fn clone(&self) -> UpdateArchiveInputBuilder
fn clone(&self) -> UpdateArchiveInputBuilder
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 Debug for UpdateArchiveInputBuilder
impl Debug for UpdateArchiveInputBuilder
source§impl Default for UpdateArchiveInputBuilder
impl Default for UpdateArchiveInputBuilder
source§fn default() -> UpdateArchiveInputBuilder
fn default() -> UpdateArchiveInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateArchiveInputBuilder
impl PartialEq for UpdateArchiveInputBuilder
source§fn eq(&self, other: &UpdateArchiveInputBuilder) -> bool
fn eq(&self, other: &UpdateArchiveInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateArchiveInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateArchiveInputBuilder
impl Send for UpdateArchiveInputBuilder
impl Sync for UpdateArchiveInputBuilder
impl Unpin for UpdateArchiveInputBuilder
impl UnwindSafe for UpdateArchiveInputBuilder
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