Struct aws_sdk_glue::types::builders::CodeGenEdgeBuilder
source · #[non_exhaustive]pub struct CodeGenEdgeBuilder { /* private fields */ }
Expand description
A builder for CodeGenEdge
.
Implementations§
source§impl CodeGenEdgeBuilder
impl CodeGenEdgeBuilder
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
The ID of the node at which the edge starts.
This field is required.sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The ID of the node at which the edge starts.
sourcepub fn get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
The ID of the node at which the edge starts.
sourcepub fn target(self, input: impl Into<String>) -> Self
pub fn target(self, input: impl Into<String>) -> Self
The ID of the node at which the edge ends.
This field is required.sourcepub fn set_target(self, input: Option<String>) -> Self
pub fn set_target(self, input: Option<String>) -> Self
The ID of the node at which the edge ends.
sourcepub fn get_target(&self) -> &Option<String>
pub fn get_target(&self) -> &Option<String>
The ID of the node at which the edge ends.
sourcepub fn target_parameter(self, input: impl Into<String>) -> Self
pub fn target_parameter(self, input: impl Into<String>) -> Self
The target of the edge.
sourcepub fn set_target_parameter(self, input: Option<String>) -> Self
pub fn set_target_parameter(self, input: Option<String>) -> Self
The target of the edge.
sourcepub fn get_target_parameter(&self) -> &Option<String>
pub fn get_target_parameter(&self) -> &Option<String>
The target of the edge.
sourcepub fn build(self) -> Result<CodeGenEdge, BuildError>
pub fn build(self) -> Result<CodeGenEdge, BuildError>
Consumes the builder and constructs a CodeGenEdge
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CodeGenEdgeBuilder
impl Clone for CodeGenEdgeBuilder
source§fn clone(&self) -> CodeGenEdgeBuilder
fn clone(&self) -> CodeGenEdgeBuilder
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 CodeGenEdgeBuilder
impl Debug for CodeGenEdgeBuilder
source§impl Default for CodeGenEdgeBuilder
impl Default for CodeGenEdgeBuilder
source§fn default() -> CodeGenEdgeBuilder
fn default() -> CodeGenEdgeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CodeGenEdgeBuilder
impl PartialEq for CodeGenEdgeBuilder
source§fn eq(&self, other: &CodeGenEdgeBuilder) -> bool
fn eq(&self, other: &CodeGenEdgeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeGenEdgeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CodeGenEdgeBuilder
impl Send for CodeGenEdgeBuilder
impl Sync for CodeGenEdgeBuilder
impl Unpin for CodeGenEdgeBuilder
impl UnwindSafe for CodeGenEdgeBuilder
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
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>
Creates a shared type from an unshared type.