Struct aws_sdk_datasync::types::builders::ResourceMetricsBuilder
source · #[non_exhaustive]pub struct ResourceMetricsBuilder { /* private fields */ }
Expand description
A builder for ResourceMetrics
.
Implementations§
source§impl ResourceMetricsBuilder
impl ResourceMetricsBuilder
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
The time when DataSync Discovery collected this information from the resource.
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
The time when DataSync Discovery collected this information from the resource.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
The time when DataSync Discovery collected this information from the resource.
sourcepub fn p95_metrics(self, input: P95Metrics) -> Self
pub fn p95_metrics(self, input: P95Metrics) -> Self
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
sourcepub fn set_p95_metrics(self, input: Option<P95Metrics>) -> Self
pub fn set_p95_metrics(self, input: Option<P95Metrics>) -> Self
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
sourcepub fn get_p95_metrics(&self) -> &Option<P95Metrics>
pub fn get_p95_metrics(&self) -> &Option<P95Metrics>
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
sourcepub fn capacity(self, input: Capacity) -> Self
pub fn capacity(self, input: Capacity) -> Self
The storage capacity of the on-premises storage system resource.
sourcepub fn set_capacity(self, input: Option<Capacity>) -> Self
pub fn set_capacity(self, input: Option<Capacity>) -> Self
The storage capacity of the on-premises storage system resource.
sourcepub fn get_capacity(&self) -> &Option<Capacity>
pub fn get_capacity(&self) -> &Option<Capacity>
The storage capacity of the on-premises storage system resource.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the on-premises storage system resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the on-premises storage system resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The universally unique identifier (UUID) of the on-premises storage system resource.
sourcepub fn resource_type(self, input: DiscoveryResourceType) -> Self
pub fn resource_type(self, input: DiscoveryResourceType) -> Self
The type of on-premises storage system resource.
sourcepub fn set_resource_type(self, input: Option<DiscoveryResourceType>) -> Self
pub fn set_resource_type(self, input: Option<DiscoveryResourceType>) -> Self
The type of on-premises storage system resource.
sourcepub fn get_resource_type(&self) -> &Option<DiscoveryResourceType>
pub fn get_resource_type(&self) -> &Option<DiscoveryResourceType>
The type of on-premises storage system resource.
sourcepub fn build(self) -> ResourceMetrics
pub fn build(self) -> ResourceMetrics
Consumes the builder and constructs a ResourceMetrics
.
Trait Implementations§
source§impl Clone for ResourceMetricsBuilder
impl Clone for ResourceMetricsBuilder
source§fn clone(&self) -> ResourceMetricsBuilder
fn clone(&self) -> ResourceMetricsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceMetricsBuilder
impl Debug for ResourceMetricsBuilder
source§impl Default for ResourceMetricsBuilder
impl Default for ResourceMetricsBuilder
source§fn default() -> ResourceMetricsBuilder
fn default() -> ResourceMetricsBuilder
source§impl PartialEq<ResourceMetricsBuilder> for ResourceMetricsBuilder
impl PartialEq<ResourceMetricsBuilder> for ResourceMetricsBuilder
source§fn eq(&self, other: &ResourceMetricsBuilder) -> bool
fn eq(&self, other: &ResourceMetricsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.