pub struct CreateScriptFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateScript
.
Transforms a directed acyclic graph (DAG) into code.
Implementations§
source§impl CreateScriptFluentBuilder
impl CreateScriptFluentBuilder
sourcepub fn as_input(&self) -> &CreateScriptInputBuilder
pub fn as_input(&self) -> &CreateScriptInputBuilder
Access the CreateScript as a reference.
sourcepub async fn send(
self,
) -> Result<CreateScriptOutput, SdkError<CreateScriptError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateScriptOutput, SdkError<CreateScriptError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateScriptOutput, CreateScriptError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateScriptOutput, CreateScriptError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn dag_nodes(self, input: CodeGenNode) -> Self
pub fn dag_nodes(self, input: CodeGenNode) -> Self
Appends an item to DagNodes
.
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 DagEdges
.
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.
Trait Implementations§
source§impl Clone for CreateScriptFluentBuilder
impl Clone for CreateScriptFluentBuilder
source§fn clone(&self) -> CreateScriptFluentBuilder
fn clone(&self) -> CreateScriptFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateScriptFluentBuilder
impl !RefUnwindSafe for CreateScriptFluentBuilder
impl Send for CreateScriptFluentBuilder
impl Sync for CreateScriptFluentBuilder
impl Unpin for CreateScriptFluentBuilder
impl !UnwindSafe for CreateScriptFluentBuilder
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
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>
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>
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 more