Struct aws_sdk_glue::input::get_statement_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for GetStatementInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The Session ID of the statement.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The Session ID of the statement.
sourcepub fn request_origin(self, input: impl Into<String>) -> Self
pub fn request_origin(self, input: impl Into<String>) -> Self
The origin of the request.
sourcepub fn set_request_origin(self, input: Option<String>) -> Self
pub fn set_request_origin(self, input: Option<String>) -> Self
The origin of the request.
sourcepub fn build(self) -> Result<GetStatementInput, BuildError>
pub fn build(self) -> Result<GetStatementInput, BuildError>
Consumes the builder and constructs a GetStatementInput.