#[non_exhaustive]pub struct CreateDatasetInputBuilder { /* private fields */ }
Expand description
A builder for CreateDatasetInput
.
Implementations§
source§impl CreateDatasetInputBuilder
impl CreateDatasetInputBuilder
sourcepub fn schema_arn(self, input: impl Into<String>) -> Self
pub fn schema_arn(self, input: impl Into<String>) -> Self
The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
sourcepub fn set_schema_arn(self, input: Option<String>) -> Self
pub fn set_schema_arn(self, input: Option<String>) -> Self
The ARN of the schema to associate with the dataset. The schema defines the dataset fields.
sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group to add the dataset to.
sourcepub fn dataset_type(self, input: impl Into<String>) -> Self
pub fn dataset_type(self, input: impl Into<String>) -> Self
The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
sourcepub fn set_dataset_type(self, input: Option<String>) -> Self
pub fn set_dataset_type(self, input: Option<String>) -> Self
The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
A list of tags to apply to the dataset.
sourcepub fn build(self) -> Result<CreateDatasetInput, BuildError>
pub fn build(self) -> Result<CreateDatasetInput, BuildError>
Consumes the builder and constructs a CreateDatasetInput
.
Trait Implementations§
source§impl Clone for CreateDatasetInputBuilder
impl Clone for CreateDatasetInputBuilder
source§fn clone(&self) -> CreateDatasetInputBuilder
fn clone(&self) -> CreateDatasetInputBuilder
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 CreateDatasetInputBuilder
impl Debug for CreateDatasetInputBuilder
source§impl Default for CreateDatasetInputBuilder
impl Default for CreateDatasetInputBuilder
source§fn default() -> CreateDatasetInputBuilder
fn default() -> CreateDatasetInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateDatasetInputBuilder> for CreateDatasetInputBuilder
impl PartialEq<CreateDatasetInputBuilder> for CreateDatasetInputBuilder
source§fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.