Struct aws_sdk_glue::types::builders::StatementBuilder
source · #[non_exhaustive]pub struct StatementBuilder { /* private fields */ }
Expand description
A builder for Statement
.
Implementations§
source§impl StatementBuilder
impl StatementBuilder
sourcepub fn state(self, input: StatementState) -> Self
pub fn state(self, input: StatementState) -> Self
The state while request is actioned.
sourcepub fn set_state(self, input: Option<StatementState>) -> Self
pub fn set_state(self, input: Option<StatementState>) -> Self
The state while request is actioned.
sourcepub fn get_state(&self) -> &Option<StatementState>
pub fn get_state(&self) -> &Option<StatementState>
The state while request is actioned.
sourcepub fn output(self, input: StatementOutput) -> Self
pub fn output(self, input: StatementOutput) -> Self
The output in JSON.
sourcepub fn set_output(self, input: Option<StatementOutput>) -> Self
pub fn set_output(self, input: Option<StatementOutput>) -> Self
The output in JSON.
sourcepub fn get_output(&self) -> &Option<StatementOutput>
pub fn get_output(&self) -> &Option<StatementOutput>
The output in JSON.
sourcepub fn set_progress(self, input: Option<f64>) -> Self
pub fn set_progress(self, input: Option<f64>) -> Self
The code execution progress.
sourcepub fn get_progress(&self) -> &Option<f64>
pub fn get_progress(&self) -> &Option<f64>
The code execution progress.
sourcepub fn started_on(self, input: i64) -> Self
pub fn started_on(self, input: i64) -> Self
The unix time and date that the job definition was started.
sourcepub fn set_started_on(self, input: Option<i64>) -> Self
pub fn set_started_on(self, input: Option<i64>) -> Self
The unix time and date that the job definition was started.
sourcepub fn get_started_on(&self) -> &Option<i64>
pub fn get_started_on(&self) -> &Option<i64>
The unix time and date that the job definition was started.
sourcepub fn completed_on(self, input: i64) -> Self
pub fn completed_on(self, input: i64) -> Self
The unix time and date that the job definition was completed.
sourcepub fn set_completed_on(self, input: Option<i64>) -> Self
pub fn set_completed_on(self, input: Option<i64>) -> Self
The unix time and date that the job definition was completed.
sourcepub fn get_completed_on(&self) -> &Option<i64>
pub fn get_completed_on(&self) -> &Option<i64>
The unix time and date that the job definition was completed.
Trait Implementations§
source§impl Clone for StatementBuilder
impl Clone for StatementBuilder
source§fn clone(&self) -> StatementBuilder
fn clone(&self) -> StatementBuilder
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 StatementBuilder
impl Debug for StatementBuilder
source§impl Default for StatementBuilder
impl Default for StatementBuilder
source§fn default() -> StatementBuilder
fn default() -> StatementBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatementBuilder
impl PartialEq for StatementBuilder
source§fn eq(&self, other: &StatementBuilder) -> bool
fn eq(&self, other: &StatementBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatementBuilder
Auto Trait Implementations§
impl Freeze for StatementBuilder
impl RefUnwindSafe for StatementBuilder
impl Send for StatementBuilder
impl Sync for StatementBuilder
impl Unpin for StatementBuilder
impl UnwindSafe for StatementBuilder
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.