#[non_exhaustive]pub struct ResultReuseByAgeConfiguration {
pub enabled: bool,
pub max_age_in_minutes: Option<i32>,
}Expand description
Specifies whether previous query results are reused, and if so, their maximum age.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolTrue if previous query results can be reused when the query is run; otherwise, false. The default is false.
max_age_in_minutes: Option<i32>Specifies, in minutes, the maximum age of a previous query result that Athena should consider for reuse. The default is 60.
Implementations§
source§impl ResultReuseByAgeConfiguration
impl ResultReuseByAgeConfiguration
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> 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) -> Option<i32>
pub fn 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.
source§impl ResultReuseByAgeConfiguration
impl ResultReuseByAgeConfiguration
sourcepub fn builder() -> ResultReuseByAgeConfigurationBuilder
pub fn builder() -> ResultReuseByAgeConfigurationBuilder
Creates a new builder-style object to manufacture ResultReuseByAgeConfiguration.
Trait Implementations§
source§impl Clone for ResultReuseByAgeConfiguration
impl Clone for ResultReuseByAgeConfiguration
source§fn clone(&self) -> ResultReuseByAgeConfiguration
fn clone(&self) -> ResultReuseByAgeConfiguration
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 PartialEq for ResultReuseByAgeConfiguration
impl PartialEq for ResultReuseByAgeConfiguration
source§fn eq(&self, other: &ResultReuseByAgeConfiguration) -> bool
fn eq(&self, other: &ResultReuseByAgeConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResultReuseByAgeConfiguration
Auto Trait Implementations§
impl Freeze for ResultReuseByAgeConfiguration
impl RefUnwindSafe for ResultReuseByAgeConfiguration
impl Send for ResultReuseByAgeConfiguration
impl Sync for ResultReuseByAgeConfiguration
impl Unpin for ResultReuseByAgeConfiguration
impl UnwindSafe for ResultReuseByAgeConfiguration
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>
Creates a shared type from an unshared type.