Struct aws_sdk_glue::model::code_gen_node::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CodeGenNode.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A node identifier that is unique within the node's graph.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
A node identifier that is unique within the node's graph.
sourcepub fn set_node_type(self, input: Option<String>) -> Self
pub fn set_node_type(self, input: Option<String>) -> Self
The type of node that this is.
sourcepub fn args(self, input: CodeGenNodeArg) -> Self
pub fn args(self, input: CodeGenNodeArg) -> Self
Appends an item to args.
To override the contents of this collection use set_args.
Properties of the node, in the form of name-value pairs.
sourcepub fn set_args(self, input: Option<Vec<CodeGenNodeArg>>) -> Self
pub fn set_args(self, input: Option<Vec<CodeGenNodeArg>>) -> Self
Properties of the node, in the form of name-value pairs.
sourcepub fn line_number(self, input: i32) -> Self
pub fn line_number(self, input: i32) -> Self
The line number of the node.
sourcepub fn set_line_number(self, input: Option<i32>) -> Self
pub fn set_line_number(self, input: Option<i32>) -> Self
The line number of the node.
sourcepub fn build(self) -> CodeGenNode
pub fn build(self) -> CodeGenNode
Consumes the builder and constructs a CodeGenNode.