#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct BucketDisplayStatPercentile {
    #[builder(into)]
    #[serde(rename = "value")]
    value: String,
}
impl BucketDisplayStatPercentile {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(value: impl Into<String>) -> Self {
        Self::builder().value(value).build()
    }
    /// Percentile value as a string (e.g. "0.95") to avoid floating-point precision issues.
    /// Must be between 0 and 1.
    #[inline]
    pub fn value(&self) -> &str {
        &*self.value
    }
}
