Struct aws_sdk_glue::input::create_script_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CreateScriptInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn dag_nodes(self, input: CodeGenNode) -> Self
pub fn dag_nodes(self, input: CodeGenNode) -> Self
Appends an item to dag_nodes.
To override the contents of this collection use set_dag_nodes.
A list of the nodes in the DAG.
sourcepub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
pub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
A list of the nodes in the DAG.
sourcepub fn dag_edges(self, input: CodeGenEdge) -> Self
pub fn dag_edges(self, input: CodeGenEdge) -> Self
Appends an item to dag_edges.
To override the contents of this collection use set_dag_edges.
A list of the edges in the DAG.
sourcepub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
pub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
A list of the edges in the DAG.
sourcepub fn language(self, input: Language) -> Self
pub fn language(self, input: Language) -> Self
The programming language of the resulting code from the DAG.
sourcepub fn set_language(self, input: Option<Language>) -> Self
pub fn set_language(self, input: Option<Language>) -> Self
The programming language of the resulting code from the DAG.
sourcepub fn build(self) -> Result<CreateScriptInput, BuildError>
pub fn build(self) -> Result<CreateScriptInput, BuildError>
Consumes the builder and constructs a CreateScriptInput.