Struct aws_sdk_glue::input::get_plan_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetPlanInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn mapping(self, input: MappingEntry) -> Self
pub fn mapping(self, input: MappingEntry) -> Self
Appends an item to mapping.
To override the contents of this collection use set_mapping.
The list of mappings from a source table to target tables.
sourcepub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
pub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
The list of mappings from a source table to target tables.
sourcepub fn source(self, input: CatalogEntry) -> Self
pub fn source(self, input: CatalogEntry) -> Self
The source table.
sourcepub fn set_source(self, input: Option<CatalogEntry>) -> Self
pub fn set_source(self, input: Option<CatalogEntry>) -> Self
The source table.
sourcepub fn sinks(self, input: CatalogEntry) -> Self
pub fn sinks(self, input: CatalogEntry) -> Self
Appends an item to sinks.
To override the contents of this collection use set_sinks.
The target tables.
sourcepub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
pub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
The target tables.
sourcepub fn set_location(self, input: Option<Location>) -> Self
pub fn set_location(self, input: Option<Location>) -> Self
The parameters for the mapping.
sourcepub fn language(self, input: Language) -> Self
pub fn language(self, input: Language) -> Self
The programming language of the code to perform the mapping.
sourcepub fn set_language(self, input: Option<Language>) -> Self
pub fn set_language(self, input: Option<Language>) -> Self
The programming language of the code to perform the mapping.
sourcepub fn additional_plan_options_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_plan_options_map(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to additional_plan_options_map.
To override the contents of this collection use set_additional_plan_options_map.
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
sourcepub fn set_additional_plan_options_map(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_additional_plan_options_map(
self,
input: Option<HashMap<String, String>>
) -> Self
A map to hold additional optional key-value parameters.
Currently, these key-value pairs are supported:
-
inferSchema— Specifies whether to setinferSchemato true or false for the default script generated by an Glue job. For example, to setinferSchemato true, pass the following key value pair:--additional-plan-options-map '{"inferSchema":"true"}'
sourcepub fn build(self) -> Result<GetPlanInput, BuildError>
pub fn build(self) -> Result<GetPlanInput, BuildError>
Consumes the builder and constructs a GetPlanInput.