Struct aws_sdk_glue::types::builders::StatementOutputBuilder
source · #[non_exhaustive]pub struct StatementOutputBuilder { /* private fields */ }Expand description
A builder for StatementOutput.
Implementations§
source§impl StatementOutputBuilder
impl StatementOutputBuilder
sourcepub fn data(self, input: StatementOutputData) -> Self
pub fn data(self, input: StatementOutputData) -> Self
The code execution output.
sourcepub fn set_data(self, input: Option<StatementOutputData>) -> Self
pub fn set_data(self, input: Option<StatementOutputData>) -> Self
The code execution output.
sourcepub fn get_data(&self) -> &Option<StatementOutputData>
pub fn get_data(&self) -> &Option<StatementOutputData>
The code execution output.
sourcepub fn execution_count(self, input: i32) -> Self
pub fn execution_count(self, input: i32) -> Self
The execution count of the output.
sourcepub fn set_execution_count(self, input: Option<i32>) -> Self
pub fn set_execution_count(self, input: Option<i32>) -> Self
The execution count of the output.
sourcepub fn get_execution_count(&self) -> &Option<i32>
pub fn get_execution_count(&self) -> &Option<i32>
The execution count of the output.
sourcepub fn status(self, input: StatementState) -> Self
pub fn status(self, input: StatementState) -> Self
The status of the code execution output.
sourcepub fn set_status(self, input: Option<StatementState>) -> Self
pub fn set_status(self, input: Option<StatementState>) -> Self
The status of the code execution output.
sourcepub fn get_status(&self) -> &Option<StatementState>
pub fn get_status(&self) -> &Option<StatementState>
The status of the code execution output.
sourcepub fn error_name(self, input: impl Into<String>) -> Self
pub fn error_name(self, input: impl Into<String>) -> Self
The name of the error in the output.
sourcepub fn set_error_name(self, input: Option<String>) -> Self
pub fn set_error_name(self, input: Option<String>) -> Self
The name of the error in the output.
sourcepub fn get_error_name(&self) -> &Option<String>
pub fn get_error_name(&self) -> &Option<String>
The name of the error in the output.
sourcepub fn error_value(self, input: impl Into<String>) -> Self
pub fn error_value(self, input: impl Into<String>) -> Self
The error value of the output.
sourcepub fn set_error_value(self, input: Option<String>) -> Self
pub fn set_error_value(self, input: Option<String>) -> Self
The error value of the output.
sourcepub fn get_error_value(&self) -> &Option<String>
pub fn get_error_value(&self) -> &Option<String>
The error value of the output.
sourcepub fn traceback(self, input: impl Into<String>) -> Self
pub fn traceback(self, input: impl Into<String>) -> Self
Appends an item to traceback.
To override the contents of this collection use set_traceback.
The traceback of the output.
sourcepub fn set_traceback(self, input: Option<Vec<String>>) -> Self
pub fn set_traceback(self, input: Option<Vec<String>>) -> Self
The traceback of the output.
sourcepub fn get_traceback(&self) -> &Option<Vec<String>>
pub fn get_traceback(&self) -> &Option<Vec<String>>
The traceback of the output.
sourcepub fn build(self) -> StatementOutput
pub fn build(self) -> StatementOutput
Consumes the builder and constructs a StatementOutput.
Trait Implementations§
source§impl Clone for StatementOutputBuilder
impl Clone for StatementOutputBuilder
source§fn clone(&self) -> StatementOutputBuilder
fn clone(&self) -> StatementOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StatementOutputBuilder
impl Debug for StatementOutputBuilder
source§impl Default for StatementOutputBuilder
impl Default for StatementOutputBuilder
source§fn default() -> StatementOutputBuilder
fn default() -> StatementOutputBuilder
source§impl PartialEq for StatementOutputBuilder
impl PartialEq for StatementOutputBuilder
source§fn eq(&self, other: &StatementOutputBuilder) -> bool
fn eq(&self, other: &StatementOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StatementOutputBuilder
Auto Trait Implementations§
impl Freeze for StatementOutputBuilder
impl RefUnwindSafe for StatementOutputBuilder
impl Send for StatementOutputBuilder
impl Sync for StatementOutputBuilder
impl Unpin for StatementOutputBuilder
impl UnwindSafe for StatementOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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