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 ==.