/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the compute-optimizer-2019-11-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ComputeOptimizer.Model
{
///
/// 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.
///
public partial class InferredWorkloadSaving
{
private EstimatedMonthlySavings _estimatedMonthlySavings;
private List _inferredWorkloadTypes = new List();
///
/// Gets and sets the property 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.
///
///
public EstimatedMonthlySavings EstimatedMonthlySavings
{
get { return this._estimatedMonthlySavings; }
set { this._estimatedMonthlySavings = value; }
}
// Check to see if EstimatedMonthlySavings property is set
internal bool IsSetEstimatedMonthlySavings()
{
return this._estimatedMonthlySavings != null;
}
///
/// Gets and sets the property InferredWorkloadTypes.
///
/// 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.
///
///
///
public List InferredWorkloadTypes
{
get { return this._inferredWorkloadTypes; }
set { this._inferredWorkloadTypes = value; }
}
// Check to see if InferredWorkloadTypes property is set
internal bool IsSetInferredWorkloadTypes()
{
return this._inferredWorkloadTypes != null && this._inferredWorkloadTypes.Count > 0;
}
}
}