@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RightsizingRecommendationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
You can use RightsizingRecommendationConfiguration
to customize recommendations across two attributes.
You can choose to view recommendations for instances within the same instance families or across different instance
families. You can also choose to view your estimated savings that are associated with recommendations with
consideration of existing Savings Plans or RI benefits, or neither.
Constructor and Description |
---|
RightsizingRecommendationConfiguration() |
Modifier and Type | Method and Description |
---|---|
RightsizingRecommendationConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBenefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation.
|
String |
getRecommendationTarget()
The option to see recommendations within the same instance family or recommendations for instances across other
families.
|
int |
hashCode() |
Boolean |
isBenefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBenefitsConsidered(Boolean benefitsConsidered)
The option to consider RI or Savings Plans discount benefits in your savings calculation.
|
void |
setRecommendationTarget(String recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families.
|
String |
toString()
Returns a string representation of this object.
|
RightsizingRecommendationConfiguration |
withBenefitsConsidered(Boolean benefitsConsidered)
The option to consider RI or Savings Plans discount benefits in your savings calculation.
|
RightsizingRecommendationConfiguration |
withRecommendationTarget(RecommendationTarget recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families.
|
RightsizingRecommendationConfiguration |
withRecommendationTarget(String recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families.
|
public RightsizingRecommendationConfiguration()
public void setRecommendationTarget(String recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families. The default value is SAME_INSTANCE_FAMILY
.
recommendationTarget
- The option to see recommendations within the same instance family or recommendations for instances across
other families. The default value is SAME_INSTANCE_FAMILY
.RecommendationTarget
public String getRecommendationTarget()
The option to see recommendations within the same instance family or recommendations for instances across other
families. The default value is SAME_INSTANCE_FAMILY
.
SAME_INSTANCE_FAMILY
.RecommendationTarget
public RightsizingRecommendationConfiguration withRecommendationTarget(String recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families. The default value is SAME_INSTANCE_FAMILY
.
recommendationTarget
- The option to see recommendations within the same instance family or recommendations for instances across
other families. The default value is SAME_INSTANCE_FAMILY
.RecommendationTarget
public RightsizingRecommendationConfiguration withRecommendationTarget(RecommendationTarget recommendationTarget)
The option to see recommendations within the same instance family or recommendations for instances across other
families. The default value is SAME_INSTANCE_FAMILY
.
recommendationTarget
- The option to see recommendations within the same instance family or recommendations for instances across
other families. The default value is SAME_INSTANCE_FAMILY
.RecommendationTarget
public void setBenefitsConsidered(Boolean benefitsConsidered)
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE
.
benefitsConsidered
- The option to consider RI or Savings Plans discount benefits in your savings calculation. The default
value is TRUE
.public Boolean getBenefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE
.
TRUE
.public RightsizingRecommendationConfiguration withBenefitsConsidered(Boolean benefitsConsidered)
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE
.
benefitsConsidered
- The option to consider RI or Savings Plans discount benefits in your savings calculation. The default
value is TRUE
.public Boolean isBenefitsConsidered()
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE
.
TRUE
.public String toString()
toString
in class Object
Object.toString()
public RightsizingRecommendationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.