#[non_exhaustive]pub struct CreateScriptInputBuilder { /* private fields */ }
Expand description
A builder for CreateScriptInput
.
Implementations§
source§impl CreateScriptInputBuilder
impl CreateScriptInputBuilder
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 get_dag_nodes(&self) -> &Option<Vec<CodeGenNode>>
pub fn get_dag_nodes(&self) -> &Option<Vec<CodeGenNode>>
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 get_dag_edges(&self) -> &Option<Vec<CodeGenEdge>>
pub fn get_dag_edges(&self) -> &Option<Vec<CodeGenEdge>>
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 get_language(&self) -> &Option<Language>
pub fn get_language(&self) -> &Option<Language>
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
.
source§impl CreateScriptInputBuilder
impl CreateScriptInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateScriptOutput, SdkError<CreateScriptError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateScriptOutput, SdkError<CreateScriptError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateScriptInputBuilder
impl Clone for CreateScriptInputBuilder
source§fn clone(&self) -> CreateScriptInputBuilder
fn clone(&self) -> CreateScriptInputBuilder
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 CreateScriptInputBuilder
impl Debug for CreateScriptInputBuilder
source§impl Default for CreateScriptInputBuilder
impl Default for CreateScriptInputBuilder
source§fn default() -> CreateScriptInputBuilder
fn default() -> CreateScriptInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateScriptInputBuilder
impl PartialEq for CreateScriptInputBuilder
source§fn eq(&self, other: &CreateScriptInputBuilder) -> bool
fn eq(&self, other: &CreateScriptInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateScriptInputBuilder
Auto Trait Implementations§
impl Freeze for CreateScriptInputBuilder
impl RefUnwindSafe for CreateScriptInputBuilder
impl Send for CreateScriptInputBuilder
impl Sync for CreateScriptInputBuilder
impl Unpin for CreateScriptInputBuilder
impl UnwindSafe for CreateScriptInputBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.