Struct aws_sdk_iotanalytics::operation::create_datastore::builders::CreateDatastoreOutputBuilder
source · #[non_exhaustive]pub struct CreateDatastoreOutputBuilder { /* private fields */ }
Expand description
A builder for CreateDatastoreOutput
.
Implementations§
source§impl CreateDatastoreOutputBuilder
impl CreateDatastoreOutputBuilder
sourcepub fn datastore_name(self, input: impl Into<String>) -> Self
pub fn datastore_name(self, input: impl Into<String>) -> Self
The name of the data store.
sourcepub fn set_datastore_name(self, input: Option<String>) -> Self
pub fn set_datastore_name(self, input: Option<String>) -> Self
The name of the data store.
sourcepub fn get_datastore_name(&self) -> &Option<String>
pub fn get_datastore_name(&self) -> &Option<String>
The name of the data store.
sourcepub fn datastore_arn(self, input: impl Into<String>) -> Self
pub fn datastore_arn(self, input: impl Into<String>) -> Self
The ARN of the data store.
sourcepub fn set_datastore_arn(self, input: Option<String>) -> Self
pub fn set_datastore_arn(self, input: Option<String>) -> Self
The ARN of the data store.
sourcepub fn get_datastore_arn(&self) -> &Option<String>
pub fn get_datastore_arn(&self) -> &Option<String>
The ARN of the data store.
sourcepub fn retention_period(self, input: RetentionPeriod) -> Self
pub fn retention_period(self, input: RetentionPeriod) -> Self
How long, in days, message data is kept for the data store.
sourcepub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
pub fn set_retention_period(self, input: Option<RetentionPeriod>) -> Self
How long, in days, message data is kept for the data store.
sourcepub fn get_retention_period(&self) -> &Option<RetentionPeriod>
pub fn get_retention_period(&self) -> &Option<RetentionPeriod>
How long, in days, message data is kept for the data store.
sourcepub fn build(self) -> CreateDatastoreOutput
pub fn build(self) -> CreateDatastoreOutput
Consumes the builder and constructs a CreateDatastoreOutput
.
Trait Implementations§
source§impl Clone for CreateDatastoreOutputBuilder
impl Clone for CreateDatastoreOutputBuilder
source§fn clone(&self) -> CreateDatastoreOutputBuilder
fn clone(&self) -> CreateDatastoreOutputBuilder
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 CreateDatastoreOutputBuilder
impl Debug for CreateDatastoreOutputBuilder
source§impl Default for CreateDatastoreOutputBuilder
impl Default for CreateDatastoreOutputBuilder
source§fn default() -> CreateDatastoreOutputBuilder
fn default() -> CreateDatastoreOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateDatastoreOutputBuilder
impl PartialEq for CreateDatastoreOutputBuilder
source§fn eq(&self, other: &CreateDatastoreOutputBuilder) -> bool
fn eq(&self, other: &CreateDatastoreOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDatastoreOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateDatastoreOutputBuilder
impl RefUnwindSafe for CreateDatastoreOutputBuilder
impl Send for CreateDatastoreOutputBuilder
impl Sync for CreateDatastoreOutputBuilder
impl Unpin for CreateDatastoreOutputBuilder
impl UnwindSafe for CreateDatastoreOutputBuilder
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
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>
Creates a shared type from an unshared type.