Struct aws_sdk_glue::types::builders::CodeGenNodeBuilder
source · #[non_exhaustive]pub struct CodeGenNodeBuilder { /* private fields */ }Expand description
A builder for CodeGenNode.
Implementations§
source§impl CodeGenNodeBuilder
impl CodeGenNodeBuilder
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.
Trait Implementations§
source§impl Clone for CodeGenNodeBuilder
impl Clone for CodeGenNodeBuilder
source§fn clone(&self) -> CodeGenNodeBuilder
fn clone(&self) -> CodeGenNodeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CodeGenNodeBuilder
impl Debug for CodeGenNodeBuilder
source§impl Default for CodeGenNodeBuilder
impl Default for CodeGenNodeBuilder
source§fn default() -> CodeGenNodeBuilder
fn default() -> CodeGenNodeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CodeGenNodeBuilder> for CodeGenNodeBuilder
impl PartialEq<CodeGenNodeBuilder> for CodeGenNodeBuilder
source§fn eq(&self, other: &CodeGenNodeBuilder) -> bool
fn eq(&self, other: &CodeGenNodeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodeGenNodeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CodeGenNodeBuilder
impl Send for CodeGenNodeBuilder
impl Sync for CodeGenNodeBuilder
impl Unpin for CodeGenNodeBuilder
impl UnwindSafe for CodeGenNodeBuilder
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
Mutably borrows from an owned value. Read more