Struct aws_sdk_glue::model::statement_output::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for StatementOutput.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> StatementOutput
pub fn build(self) -> StatementOutput
Consumes the builder and constructs a StatementOutput.