Struct aws_sdk_pi::types::builders::DimensionKeyDetailBuilder
source · #[non_exhaustive]pub struct DimensionKeyDetailBuilder { /* private fields */ }
Expand description
A builder for DimensionKeyDetail
.
Implementations§
source§impl DimensionKeyDetailBuilder
impl DimensionKeyDetailBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn dimension(self, input: impl Into<String>) -> Self
pub fn dimension(self, input: impl Into<String>) -> Self
The full name of the dimension. The full name includes the group name and key name. The following values are valid:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn set_dimension(self, input: Option<String>) -> Self
pub fn set_dimension(self, input: Option<String>) -> Self
The full name of the dimension. The full name includes the group name and key name. The following values are valid:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn get_dimension(&self) -> &Option<String>
pub fn get_dimension(&self) -> &Option<String>
The full name of the dimension. The full name includes the group name and key name. The following values are valid:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn status(self, input: DetailStatus) -> Self
pub fn status(self, input: DetailStatus) -> Self
The status of the dimension detail data. Possible values include the following:
-
AVAILABLE
- The dimension detail data is ready to be retrieved. -
PROCESSING
- The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the statusPROCESSING
, Performance Insights returns the truncated query. -
UNAVAILABLE
- The dimension detail data could not be collected successfully.
sourcepub fn set_status(self, input: Option<DetailStatus>) -> Self
pub fn set_status(self, input: Option<DetailStatus>) -> Self
The status of the dimension detail data. Possible values include the following:
-
AVAILABLE
- The dimension detail data is ready to be retrieved. -
PROCESSING
- The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the statusPROCESSING
, Performance Insights returns the truncated query. -
UNAVAILABLE
- The dimension detail data could not be collected successfully.
sourcepub fn get_status(&self) -> &Option<DetailStatus>
pub fn get_status(&self) -> &Option<DetailStatus>
The status of the dimension detail data. Possible values include the following:
-
AVAILABLE
- The dimension detail data is ready to be retrieved. -
PROCESSING
- The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the statusPROCESSING
, Performance Insights returns the truncated query. -
UNAVAILABLE
- The dimension detail data could not be collected successfully.
sourcepub fn build(self) -> DimensionKeyDetail
pub fn build(self) -> DimensionKeyDetail
Consumes the builder and constructs a DimensionKeyDetail
.
Trait Implementations§
source§impl Clone for DimensionKeyDetailBuilder
impl Clone for DimensionKeyDetailBuilder
source§fn clone(&self) -> DimensionKeyDetailBuilder
fn clone(&self) -> DimensionKeyDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DimensionKeyDetailBuilder
impl Debug for DimensionKeyDetailBuilder
source§impl Default for DimensionKeyDetailBuilder
impl Default for DimensionKeyDetailBuilder
source§fn default() -> DimensionKeyDetailBuilder
fn default() -> DimensionKeyDetailBuilder
source§impl PartialEq for DimensionKeyDetailBuilder
impl PartialEq for DimensionKeyDetailBuilder
source§fn eq(&self, other: &DimensionKeyDetailBuilder) -> bool
fn eq(&self, other: &DimensionKeyDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DimensionKeyDetailBuilder
Auto Trait Implementations§
impl Freeze for DimensionKeyDetailBuilder
impl RefUnwindSafe for DimensionKeyDetailBuilder
impl Send for DimensionKeyDetailBuilder
impl Sync for DimensionKeyDetailBuilder
impl Unpin for DimensionKeyDetailBuilder
impl UnwindSafe for DimensionKeyDetailBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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