#[non_exhaustive]pub struct DataSetIdentifierDeclarationBuilder { /* private fields */ }
Expand description
A builder for DataSetIdentifierDeclaration
.
Implementations§
source§impl DataSetIdentifierDeclarationBuilder
impl DataSetIdentifierDeclarationBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the data set, typically the data set's name.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the data set, typically the data set's name.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the data set, typically the data set's name.
sourcepub fn data_set_arn(self, input: impl Into<String>) -> Self
pub fn data_set_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the data set.
This field is required.sourcepub fn set_data_set_arn(self, input: Option<String>) -> Self
pub fn set_data_set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the data set.
sourcepub fn get_data_set_arn(&self) -> &Option<String>
pub fn get_data_set_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the data set.
sourcepub fn build(self) -> Result<DataSetIdentifierDeclaration, BuildError>
pub fn build(self) -> Result<DataSetIdentifierDeclaration, BuildError>
Consumes the builder and constructs a DataSetIdentifierDeclaration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataSetIdentifierDeclarationBuilder
impl Clone for DataSetIdentifierDeclarationBuilder
source§fn clone(&self) -> DataSetIdentifierDeclarationBuilder
fn clone(&self) -> DataSetIdentifierDeclarationBuilder
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 Default for DataSetIdentifierDeclarationBuilder
impl Default for DataSetIdentifierDeclarationBuilder
source§fn default() -> DataSetIdentifierDeclarationBuilder
fn default() -> DataSetIdentifierDeclarationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataSetIdentifierDeclarationBuilder
impl PartialEq for DataSetIdentifierDeclarationBuilder
source§fn eq(&self, other: &DataSetIdentifierDeclarationBuilder) -> bool
fn eq(&self, other: &DataSetIdentifierDeclarationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSetIdentifierDeclarationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DataSetIdentifierDeclarationBuilder
impl Send for DataSetIdentifierDeclarationBuilder
impl Sync for DataSetIdentifierDeclarationBuilder
impl Unpin for DataSetIdentifierDeclarationBuilder
impl UnwindSafe for DataSetIdentifierDeclarationBuilder
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.