#[non_exhaustive]pub struct InferredWorkloadSaving {
pub inferred_workload_types: Option<Vec<InferredWorkloadType>>,
pub estimated_monthly_savings: Option<EstimatedMonthlySavings>,
}
Expand description
The estimated monthly savings after you adjust the configurations of your instances running on the inferred workload types to the recommended configurations. If the inferredWorkloadTypes
list contains multiple entries, then the savings are the sum of the monthly savings from instances that run the exact combination of the inferred workload types.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.inferred_workload_types: Option<Vec<InferredWorkloadType>>
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
estimated_monthly_savings: Option<EstimatedMonthlySavings>
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing.
Implementations§
source§impl InferredWorkloadSaving
impl InferredWorkloadSaving
sourcepub fn inferred_workload_types(&self) -> &[InferredWorkloadType]
pub fn inferred_workload_types(&self) -> &[InferredWorkloadType]
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .inferred_workload_types.is_none()
.
sourcepub fn estimated_monthly_savings(&self) -> Option<&EstimatedMonthlySavings>
pub fn estimated_monthly_savings(&self) -> Option<&EstimatedMonthlySavings>
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing.
source§impl InferredWorkloadSaving
impl InferredWorkloadSaving
sourcepub fn builder() -> InferredWorkloadSavingBuilder
pub fn builder() -> InferredWorkloadSavingBuilder
Creates a new builder-style object to manufacture InferredWorkloadSaving
.
Trait Implementations§
source§impl Clone for InferredWorkloadSaving
impl Clone for InferredWorkloadSaving
source§fn clone(&self) -> InferredWorkloadSaving
fn clone(&self) -> InferredWorkloadSaving
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InferredWorkloadSaving
impl Debug for InferredWorkloadSaving
source§impl PartialEq for InferredWorkloadSaving
impl PartialEq for InferredWorkloadSaving
source§fn eq(&self, other: &InferredWorkloadSaving) -> bool
fn eq(&self, other: &InferredWorkloadSaving) -> bool
self
and other
values to be equal, and is used
by ==
.