#[non_exhaustive]pub struct ResultReuseByAgeConfigurationBuilder { /* private fields */ }Expand description
A builder for ResultReuseByAgeConfiguration.
Implementations§
Source§impl ResultReuseByAgeConfigurationBuilder
impl ResultReuseByAgeConfigurationBuilder
Sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
This field is required.Sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
Sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
True if previous query results can be reused when the query is run; otherwise, false. The default is false.
Sourcepub fn max_age_in_minutes(self, input: i32) -> Self
pub fn max_age_in_minutes(self, input: i32) -> Self
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
Sourcepub fn set_max_age_in_minutes(self, input: Option<i32>) -> Self
pub fn set_max_age_in_minutes(self, input: Option<i32>) -> Self
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
Sourcepub fn get_max_age_in_minutes(&self) -> &Option<i32>
pub fn get_max_age_in_minutes(&self) -> &Option<i32>
Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
Sourcepub fn build(self) -> ResultReuseByAgeConfiguration
pub fn build(self) -> ResultReuseByAgeConfiguration
Consumes the builder and constructs a ResultReuseByAgeConfiguration.
Trait Implementations§
Source§impl Clone for ResultReuseByAgeConfigurationBuilder
impl Clone for ResultReuseByAgeConfigurationBuilder
Source§fn clone(&self) -> ResultReuseByAgeConfigurationBuilder
fn clone(&self) -> ResultReuseByAgeConfigurationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ResultReuseByAgeConfigurationBuilder
impl Default for ResultReuseByAgeConfigurationBuilder
Source§fn default() -> ResultReuseByAgeConfigurationBuilder
fn default() -> ResultReuseByAgeConfigurationBuilder
Source§impl PartialEq for ResultReuseByAgeConfigurationBuilder
impl PartialEq for ResultReuseByAgeConfigurationBuilder
Source§fn eq(&self, other: &ResultReuseByAgeConfigurationBuilder) -> bool
fn eq(&self, other: &ResultReuseByAgeConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResultReuseByAgeConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ResultReuseByAgeConfigurationBuilder
impl RefUnwindSafe for ResultReuseByAgeConfigurationBuilder
impl Send for ResultReuseByAgeConfigurationBuilder
impl Sync for ResultReuseByAgeConfigurationBuilder
impl Unpin for ResultReuseByAgeConfigurationBuilder
impl UnsafeUnpin for ResultReuseByAgeConfigurationBuilder
impl UnwindSafe for ResultReuseByAgeConfigurationBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more