Struct aws_sdk_dataexchange::operation::create_data_set::builders::CreateDataSetInputBuilder
source · #[non_exhaustive]pub struct CreateDataSetInputBuilder { /* private fields */ }Expand description
A builder for CreateDataSetInput.
Implementations§
source§impl CreateDataSetInputBuilder
impl CreateDataSetInputBuilder
sourcepub fn asset_type(self, input: AssetType) -> Self
pub fn asset_type(self, input: AssetType) -> Self
The type of asset that is added to a data set.
This field is required.sourcepub fn set_asset_type(self, input: Option<AssetType>) -> Self
pub fn set_asset_type(self, input: Option<AssetType>) -> Self
The type of asset that is added to a data set.
sourcepub fn get_asset_type(&self) -> &Option<AssetType>
pub fn get_asset_type(&self) -> &Option<AssetType>
The type of asset that is added to a data set.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the data set. This value can be up to 16,348 characters long.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the data set. This value can be up to 16,348 characters long.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the data set. This value can be up to 16,348 characters long.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data set.
This field is required.Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
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 ==.