Struct aws_sdk_omics::model::tsv_store_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TsvStoreOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn annotation_type(self, input: AnnotationType) -> Self
pub fn annotation_type(self, input: AnnotationType) -> Self
The store's annotation type.
sourcepub fn set_annotation_type(self, input: Option<AnnotationType>) -> Self
pub fn set_annotation_type(self, input: Option<AnnotationType>) -> Self
The store's annotation type.
sourcepub fn format_to_header(self, k: FormatToHeaderKey, v: impl Into<String>) -> Self
pub fn format_to_header(self, k: FormatToHeaderKey, v: impl Into<String>) -> Self
Adds a key-value pair to format_to_header
.
To override the contents of this collection use set_format_to_header
.
The store's header key to column name mapping.
sourcepub fn set_format_to_header(
self,
input: Option<HashMap<FormatToHeaderKey, String>>
) -> Self
pub fn set_format_to_header(
self,
input: Option<HashMap<FormatToHeaderKey, String>>
) -> Self
The store's header key to column name mapping.
sourcepub fn schema(self, input: HashMap<String, SchemaValueType>) -> Self
pub fn schema(self, input: HashMap<String, SchemaValueType>) -> Self
Appends an item to schema
.
To override the contents of this collection use set_schema
.
The store's schema.
sourcepub fn set_schema(
self,
input: Option<Vec<HashMap<String, SchemaValueType>>>
) -> Self
pub fn set_schema(
self,
input: Option<Vec<HashMap<String, SchemaValueType>>>
) -> Self
The store's schema.
sourcepub fn build(self) -> TsvStoreOptions
pub fn build(self) -> TsvStoreOptions
Consumes the builder and constructs a TsvStoreOptions
.