Struct aws_sdk_quicksight::types::builders::DatasetMetadataBuilder
source · #[non_exhaustive]pub struct DatasetMetadataBuilder { /* private fields */ }Expand description
A builder for DatasetMetadata.
Implementations§
source§impl DatasetMetadataBuilder
impl DatasetMetadataBuilder
sourcepub fn dataset_arn(self, input: impl Into<String>) -> Self
pub fn dataset_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset.
This field is required.sourcepub fn set_dataset_arn(self, input: Option<String>) -> Self
pub fn set_dataset_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset.
sourcepub fn get_dataset_arn(&self) -> &Option<String>
pub fn get_dataset_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset.
sourcepub fn dataset_name(self, input: impl Into<String>) -> Self
pub fn dataset_name(self, input: impl Into<String>) -> Self
The name of the dataset.
sourcepub fn set_dataset_name(self, input: Option<String>) -> Self
pub fn set_dataset_name(self, input: Option<String>) -> Self
The name of the dataset.
sourcepub fn get_dataset_name(&self) -> &Option<String>
pub fn get_dataset_name(&self) -> &Option<String>
The name of the dataset.
sourcepub fn dataset_description(self, input: impl Into<String>) -> Self
pub fn dataset_description(self, input: impl Into<String>) -> Self
The description of the dataset.
sourcepub fn set_dataset_description(self, input: Option<String>) -> Self
pub fn set_dataset_description(self, input: Option<String>) -> Self
The description of the dataset.
sourcepub fn get_dataset_description(&self) -> &Option<String>
pub fn get_dataset_description(&self) -> &Option<String>
The description of the dataset.
sourcepub fn data_aggregation(self, input: DataAggregation) -> Self
pub fn data_aggregation(self, input: DataAggregation) -> Self
The definition of a data aggregation.
sourcepub fn set_data_aggregation(self, input: Option<DataAggregation>) -> Self
pub fn set_data_aggregation(self, input: Option<DataAggregation>) -> Self
The definition of a data aggregation.
sourcepub fn get_data_aggregation(&self) -> &Option<DataAggregation>
pub fn get_data_aggregation(&self) -> &Option<DataAggregation>
The definition of a data aggregation.
sourcepub fn filters(self, input: TopicFilter) -> Self
pub fn filters(self, input: TopicFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
The list of filter definitions.
sourcepub fn set_filters(self, input: Option<Vec<TopicFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<TopicFilter>>) -> Self
The list of filter definitions.
sourcepub fn get_filters(&self) -> &Option<Vec<TopicFilter>>
pub fn get_filters(&self) -> &Option<Vec<TopicFilter>>
The list of filter definitions.
sourcepub fn columns(self, input: TopicColumn) -> Self
pub fn columns(self, input: TopicColumn) -> Self
Appends an item to columns.
To override the contents of this collection use set_columns.
The list of column definitions.
sourcepub fn set_columns(self, input: Option<Vec<TopicColumn>>) -> Self
pub fn set_columns(self, input: Option<Vec<TopicColumn>>) -> Self
The list of column definitions.
sourcepub fn get_columns(&self) -> &Option<Vec<TopicColumn>>
pub fn get_columns(&self) -> &Option<Vec<TopicColumn>>
The list of column definitions.
sourcepub fn calculated_fields(self, input: TopicCalculatedField) -> Self
pub fn calculated_fields(self, input: TopicCalculatedField) -> Self
Appends an item to calculated_fields.
To override the contents of this collection use set_calculated_fields.
The list of calculated field definitions.
sourcepub fn set_calculated_fields(
self,
input: Option<Vec<TopicCalculatedField>>
) -> Self
pub fn set_calculated_fields( self, input: Option<Vec<TopicCalculatedField>> ) -> Self
The list of calculated field definitions.
sourcepub fn get_calculated_fields(&self) -> &Option<Vec<TopicCalculatedField>>
pub fn get_calculated_fields(&self) -> &Option<Vec<TopicCalculatedField>>
The list of calculated field definitions.
sourcepub fn named_entities(self, input: TopicNamedEntity) -> Self
pub fn named_entities(self, input: TopicNamedEntity) -> Self
Appends an item to named_entities.
To override the contents of this collection use set_named_entities.
The list of named entities definitions.
sourcepub fn set_named_entities(self, input: Option<Vec<TopicNamedEntity>>) -> Self
pub fn set_named_entities(self, input: Option<Vec<TopicNamedEntity>>) -> Self
The list of named entities definitions.
sourcepub fn get_named_entities(&self) -> &Option<Vec<TopicNamedEntity>>
pub fn get_named_entities(&self) -> &Option<Vec<TopicNamedEntity>>
The list of named entities definitions.
sourcepub fn build(self) -> Result<DatasetMetadata, BuildError>
pub fn build(self) -> Result<DatasetMetadata, BuildError>
Consumes the builder and constructs a DatasetMetadata.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DatasetMetadataBuilder
impl Clone for DatasetMetadataBuilder
source§fn clone(&self) -> DatasetMetadataBuilder
fn clone(&self) -> DatasetMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatasetMetadataBuilder
impl Debug for DatasetMetadataBuilder
source§impl Default for DatasetMetadataBuilder
impl Default for DatasetMetadataBuilder
source§fn default() -> DatasetMetadataBuilder
fn default() -> DatasetMetadataBuilder
source§impl PartialEq for DatasetMetadataBuilder
impl PartialEq for DatasetMetadataBuilder
source§fn eq(&self, other: &DatasetMetadataBuilder) -> bool
fn eq(&self, other: &DatasetMetadataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatasetMetadataBuilder
Auto Trait Implementations§
impl Freeze for DatasetMetadataBuilder
impl RefUnwindSafe for DatasetMetadataBuilder
impl Send for DatasetMetadataBuilder
impl Sync for DatasetMetadataBuilder
impl Unpin for DatasetMetadataBuilder
impl UnwindSafe for DatasetMetadataBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more