Struct aws_sdk_glue::operation::get_plan::builders::GetPlanFluentBuilder
source · pub struct GetPlanFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetPlan.
Gets code to perform a specified mapping.
Implementations§
source§impl GetPlanFluentBuilder
impl GetPlanFluentBuilder
sourcepub fn as_input(&self) -> &GetPlanInputBuilder
pub fn as_input(&self) -> &GetPlanInputBuilder
Access the GetPlan as a reference.
sourcepub async fn send(
self,
) -> Result<GetPlanOutput, SdkError<GetPlanError, HttpResponse>>
pub async fn send( self, ) -> Result<GetPlanOutput, SdkError<GetPlanError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<GetPlanOutput, GetPlanError, Self>
pub fn customize( self, ) -> CustomizableOperation<GetPlanOutput, GetPlanError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 AdditionalPlanOptionsMap.
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"}'
Trait Implementations§
source§impl Clone for GetPlanFluentBuilder
impl Clone for GetPlanFluentBuilder
source§fn clone(&self) -> GetPlanFluentBuilder
fn clone(&self) -> GetPlanFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for GetPlanFluentBuilder
impl !RefUnwindSafe for GetPlanFluentBuilder
impl Send for GetPlanFluentBuilder
impl Sync for GetPlanFluentBuilder
impl Unpin for GetPlanFluentBuilder
impl !UnwindSafe for GetPlanFluentBuilder
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