#[non_exhaustive]pub struct CreateDatasetInputBuilder { /* private fields */ }
Expand description
A builder for CreateDatasetInput
.
Implementations§
source§impl CreateDatasetInputBuilder
impl CreateDatasetInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name for the dataset.
This field is required.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.
This field is required.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 get_schema_arn(&self) -> &Option<String>
pub fn get_schema_arn(&self) -> &Option<String>
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.
This field is required.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 get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
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
sourcepub fn get_dataset_type(&self) -> &Option<String>
pub fn get_dataset_type(&self) -> &Option<String>
The type of dataset.
One of the following (case insensitive) values:
-
Interactions
-
Items
-
Users
A list of tags to apply to the dataset.
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
.
source§impl CreateDatasetInputBuilder
impl CreateDatasetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDatasetOutput, SdkError<CreateDatasetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDatasetInputBuilder
impl Clone for CreateDatasetInputBuilder
source§fn clone(&self) -> CreateDatasetInputBuilder
fn clone(&self) -> CreateDatasetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CreateDatasetInputBuilder
impl PartialEq for CreateDatasetInputBuilder
source§fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
fn eq(&self, other: &CreateDatasetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.