pub struct MetricReportDefinitionUpdate {
pub base: Option<ResourceUpdate>,
pub metric_report_definition_type: Option<MetricReportDefinitionType>,
pub schedule: Option<ScheduleUpdate>,
pub report_actions: Option<Vec<ReportActionsEnum>>,
pub report_updates: Option<ReportUpdatesEnum>,
pub wildcards: Option<Vec<WildcardUpdate>>,
pub metric_properties: Option<Vec<String>>,
pub metrics: Option<Vec<MetricUpdate>>,
pub suppress_repeated_metric_value: Option<bool>,
pub metric_report_heartbeat_interval: Option<EdmDuration>,
pub metric_report_definition_enabled: Option<bool>,
pub report_timespan: Option<EdmDuration>,
}Expand description
Update struct corresponding to MetricReportDefinition
Fields§
§base: Option<ResourceUpdate>§metric_report_definition_type: Option<MetricReportDefinitionType>§schedule: Option<ScheduleUpdate>§report_actions: Option<Vec<ReportActionsEnum>>§report_updates: Option<ReportUpdatesEnum>§wildcards: Option<Vec<WildcardUpdate>>§metric_properties: Option<Vec<String>>§metrics: Option<Vec<MetricUpdate>>§suppress_repeated_metric_value: Option<bool>§metric_report_heartbeat_interval: Option<EdmDuration>§metric_report_definition_enabled: Option<bool>§report_timespan: Option<EdmDuration>Implementations§
Source§impl MetricReportDefinitionUpdate
impl MetricReportDefinitionUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_metric_report_definition_type( self, v: MetricReportDefinitionType, ) -> Self
pub fn with_schedule(self, v: ScheduleUpdate) -> Self
pub fn with_report_actions(self, v: Vec<ReportActionsEnum>) -> Self
pub fn with_report_updates(self, v: ReportUpdatesEnum) -> Self
pub fn with_wildcards(self, v: Vec<WildcardUpdate>) -> Self
pub fn with_metric_properties(self, v: Vec<String>) -> Self
pub fn with_metrics(self, v: Vec<MetricUpdate>) -> Self
pub fn with_suppress_repeated_metric_value(self, v: bool) -> Self
pub fn with_metric_report_heartbeat_interval(self, v: EdmDuration) -> Self
pub fn with_metric_report_definition_enabled(self, v: bool) -> Self
pub fn with_report_timespan(self, v: EdmDuration) -> Self
Trait Implementations§
Source§impl Debug for MetricReportDefinitionUpdate
impl Debug for MetricReportDefinitionUpdate
Source§impl Default for MetricReportDefinitionUpdate
impl Default for MetricReportDefinitionUpdate
Source§fn default() -> MetricReportDefinitionUpdate
fn default() -> MetricReportDefinitionUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetricReportDefinitionUpdate
impl RefUnwindSafe for MetricReportDefinitionUpdate
impl Send for MetricReportDefinitionUpdate
impl Sync for MetricReportDefinitionUpdate
impl Unpin for MetricReportDefinitionUpdate
impl UnsafeUnpin for MetricReportDefinitionUpdate
impl UnwindSafe for MetricReportDefinitionUpdate
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