Struct aws_sdk_glue::operation::get_plan::builders::GetPlanInputBuilder
source · #[non_exhaustive]pub struct GetPlanInputBuilder { /* private fields */ }Expand description
A builder for GetPlanInput.
Implementations§
source§impl GetPlanInputBuilder
impl GetPlanInputBuilder
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 get_mapping(&self) -> &Option<Vec<MappingEntry>>
pub fn get_mapping(&self) -> &Option<Vec<MappingEntry>>
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.
This field is required.sourcepub fn set_source(self, input: Option<CatalogEntry>) -> Self
pub fn set_source(self, input: Option<CatalogEntry>) -> Self
The source table.
sourcepub fn get_source(&self) -> &Option<CatalogEntry>
pub fn get_source(&self) -> &Option<CatalogEntry>
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 get_sinks(&self) -> &Option<Vec<CatalogEntry>>
pub fn get_sinks(&self) -> &Option<Vec<CatalogEntry>>
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 get_location(&self) -> &Option<Location>
pub fn get_location(&self) -> &Option<Location>
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 get_language(&self) -> &Option<Language>
pub fn get_language(&self) -> &Option<Language>
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 get_additional_plan_options_map(
&self,
) -> &Option<HashMap<String, String>>
pub fn get_additional_plan_options_map( &self, ) -> &Option<HashMap<String, String>>
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.
source§impl GetPlanInputBuilder
impl GetPlanInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetPlanOutput, SdkError<GetPlanError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetPlanOutput, SdkError<GetPlanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPlanInputBuilder
impl Clone for GetPlanInputBuilder
source§fn clone(&self) -> GetPlanInputBuilder
fn clone(&self) -> GetPlanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPlanInputBuilder
impl Debug for GetPlanInputBuilder
source§impl Default for GetPlanInputBuilder
impl Default for GetPlanInputBuilder
source§fn default() -> GetPlanInputBuilder
fn default() -> GetPlanInputBuilder
source§impl PartialEq for GetPlanInputBuilder
impl PartialEq for GetPlanInputBuilder
source§fn eq(&self, other: &GetPlanInputBuilder) -> bool
fn eq(&self, other: &GetPlanInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPlanInputBuilder
Auto Trait Implementations§
impl Freeze for GetPlanInputBuilder
impl RefUnwindSafe for GetPlanInputBuilder
impl Send for GetPlanInputBuilder
impl Sync for GetPlanInputBuilder
impl Unpin for GetPlanInputBuilder
impl UnwindSafe for GetPlanInputBuilder
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