#[non_exhaustive]pub struct UnprocessedNamedQueryIdBuilder { /* private fields */ }Expand description
A builder for UnprocessedNamedQueryId.
Implementations§
source§impl UnprocessedNamedQueryIdBuilder
impl UnprocessedNamedQueryIdBuilder
sourcepub fn named_query_id(self, input: impl Into<String>) -> Self
pub fn named_query_id(self, input: impl Into<String>) -> Self
The unique identifier of the named query.
sourcepub fn set_named_query_id(self, input: Option<String>) -> Self
pub fn set_named_query_id(self, input: Option<String>) -> Self
The unique identifier of the named query.
sourcepub fn get_named_query_id(&self) -> &Option<String>
pub fn get_named_query_id(&self) -> &Option<String>
The unique identifier of the named query.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code returned when the processing request for the named query failed, if applicable.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code returned when the processing request for the named query failed, if applicable.
sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
The error code returned when the processing request for the named query failed, if applicable.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message returned when the processing request for the named query failed, if applicable.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message returned when the processing request for the named query failed, if applicable.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message returned when the processing request for the named query failed, if applicable.
sourcepub fn build(self) -> UnprocessedNamedQueryId
pub fn build(self) -> UnprocessedNamedQueryId
Consumes the builder and constructs a UnprocessedNamedQueryId.
Trait Implementations§
source§impl Clone for UnprocessedNamedQueryIdBuilder
impl Clone for UnprocessedNamedQueryIdBuilder
source§fn clone(&self) -> UnprocessedNamedQueryIdBuilder
fn clone(&self) -> UnprocessedNamedQueryIdBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UnprocessedNamedQueryIdBuilder
impl Default for UnprocessedNamedQueryIdBuilder
source§fn default() -> UnprocessedNamedQueryIdBuilder
fn default() -> UnprocessedNamedQueryIdBuilder
source§impl PartialEq<UnprocessedNamedQueryIdBuilder> for UnprocessedNamedQueryIdBuilder
impl PartialEq<UnprocessedNamedQueryIdBuilder> for UnprocessedNamedQueryIdBuilder
source§fn eq(&self, other: &UnprocessedNamedQueryIdBuilder) -> bool
fn eq(&self, other: &UnprocessedNamedQueryIdBuilder) -> bool
self and other values to be equal, and is used
by ==.