#[non_exhaustive]pub struct ResultReuseByAgeConfiguration { /* private fields */ }
Expand description
Specifies whether previous query results are reused, and if so, their maximum age.
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() -> Builder
pub fn builder() -> Builder
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<ResultReuseByAgeConfiguration> for ResultReuseByAgeConfiguration
impl PartialEq<ResultReuseByAgeConfiguration> 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 ==
.