Struct aws_sdk_glue::types::builders::CustomCodeBuilder
source · #[non_exhaustive]pub struct CustomCodeBuilder { /* private fields */ }
Expand description
A builder for CustomCode
.
Implementations§
source§impl CustomCodeBuilder
impl CustomCodeBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the transform node.
This field is required.sourcepub fn inputs(self, input: impl Into<String>) -> Self
pub fn inputs(self, input: impl Into<String>) -> Self
Appends an item to inputs
.
To override the contents of this collection use set_inputs
.
The data inputs identified by their node names.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The data inputs identified by their node names.
sourcepub fn get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The data inputs identified by their node names.
sourcepub fn code(self, input: impl Into<String>) -> Self
pub fn code(self, input: impl Into<String>) -> Self
The custom code that is used to perform the data transformation.
This field is required.sourcepub fn set_code(self, input: Option<String>) -> Self
pub fn set_code(self, input: Option<String>) -> Self
The custom code that is used to perform the data transformation.
sourcepub fn get_code(&self) -> &Option<String>
pub fn get_code(&self) -> &Option<String>
The custom code that is used to perform the data transformation.
sourcepub fn class_name(self, input: impl Into<String>) -> Self
pub fn class_name(self, input: impl Into<String>) -> Self
The name defined for the custom code node class.
This field is required.sourcepub fn set_class_name(self, input: Option<String>) -> Self
pub fn set_class_name(self, input: Option<String>) -> Self
The name defined for the custom code node class.
sourcepub fn get_class_name(&self) -> &Option<String>
pub fn get_class_name(&self) -> &Option<String>
The name defined for the custom code node class.
sourcepub fn output_schemas(self, input: GlueSchema) -> Self
pub fn output_schemas(self, input: GlueSchema) -> Self
Appends an item to output_schemas
.
To override the contents of this collection use set_output_schemas
.
Specifies the data schema for the custom code transform.
sourcepub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
pub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
Specifies the data schema for the custom code transform.
sourcepub fn get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
pub fn get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
Specifies the data schema for the custom code transform.
sourcepub fn build(self) -> Result<CustomCode, BuildError>
pub fn build(self) -> Result<CustomCode, BuildError>
Consumes the builder and constructs a CustomCode
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomCodeBuilder
impl Clone for CustomCodeBuilder
source§fn clone(&self) -> CustomCodeBuilder
fn clone(&self) -> CustomCodeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomCodeBuilder
impl Debug for CustomCodeBuilder
source§impl Default for CustomCodeBuilder
impl Default for CustomCodeBuilder
source§fn default() -> CustomCodeBuilder
fn default() -> CustomCodeBuilder
source§impl PartialEq for CustomCodeBuilder
impl PartialEq for CustomCodeBuilder
source§fn eq(&self, other: &CustomCodeBuilder) -> bool
fn eq(&self, other: &CustomCodeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.