@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetInstance extends Object implements Serializable, Cloneable, StructuredPojo
Details on recommended instance.
Constructor and Description |
---|
TargetInstance() |
Modifier and Type | Method and Description |
---|---|
TargetInstance |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code that Amazon Web Services used to calculate the costs for this instance.
|
Boolean |
getDefaultTargetInstance()
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
|
String |
getEstimatedMonthlyCost()
Expected cost to operate this instance type on a monthly basis.
|
String |
getEstimatedMonthlySavings()
Estimated savings resulting from modification, on a monthly basis.
|
ResourceUtilization |
getExpectedResourceUtilization()
Expected utilization metrics for target instance type.
|
ResourceDetails |
getResourceDetails()
Details on the target instance type.
|
int |
hashCode() |
Boolean |
isDefaultTargetInstance()
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
|
void |
setDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
|
void |
setEstimatedMonthlyCost(String estimatedMonthlyCost)
Expected cost to operate this instance type on a monthly basis.
|
void |
setEstimatedMonthlySavings(String estimatedMonthlySavings)
Estimated savings resulting from modification, on a monthly basis.
|
void |
setExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
Expected utilization metrics for target instance type.
|
void |
setResourceDetails(ResourceDetails resourceDetails)
Details on the target instance type.
|
String |
toString()
Returns a string representation of this object.
|
TargetInstance |
withCurrencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
|
TargetInstance |
withDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
|
TargetInstance |
withEstimatedMonthlyCost(String estimatedMonthlyCost)
Expected cost to operate this instance type on a monthly basis.
|
TargetInstance |
withEstimatedMonthlySavings(String estimatedMonthlySavings)
Estimated savings resulting from modification, on a monthly basis.
|
TargetInstance |
withExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
Expected utilization metrics for target instance type.
|
TargetInstance |
withResourceDetails(ResourceDetails resourceDetails)
Details on the target instance type.
|
public void setEstimatedMonthlyCost(String estimatedMonthlyCost)
Expected cost to operate this instance type on a monthly basis.
estimatedMonthlyCost
- Expected cost to operate this instance type on a monthly basis.public String getEstimatedMonthlyCost()
Expected cost to operate this instance type on a monthly basis.
public TargetInstance withEstimatedMonthlyCost(String estimatedMonthlyCost)
Expected cost to operate this instance type on a monthly basis.
estimatedMonthlyCost
- Expected cost to operate this instance type on a monthly basis.public void setEstimatedMonthlySavings(String estimatedMonthlySavings)
Estimated savings resulting from modification, on a monthly basis.
estimatedMonthlySavings
- Estimated savings resulting from modification, on a monthly basis.public String getEstimatedMonthlySavings()
Estimated savings resulting from modification, on a monthly basis.
public TargetInstance withEstimatedMonthlySavings(String estimatedMonthlySavings)
Estimated savings resulting from modification, on a monthly basis.
estimatedMonthlySavings
- Estimated savings resulting from modification, on a monthly basis.public void setCurrencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
currencyCode
- The currency code that Amazon Web Services used to calculate the costs for this instance.public String getCurrencyCode()
The currency code that Amazon Web Services used to calculate the costs for this instance.
public TargetInstance withCurrencyCode(String currencyCode)
The currency code that Amazon Web Services used to calculate the costs for this instance.
currencyCode
- The currency code that Amazon Web Services used to calculate the costs for this instance.public void setDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
defaultTargetInstance
- Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.public Boolean getDefaultTargetInstance()
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
public TargetInstance withDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
defaultTargetInstance
- Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.public Boolean isDefaultTargetInstance()
Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.
public void setResourceDetails(ResourceDetails resourceDetails)
Details on the target instance type.
resourceDetails
- Details on the target instance type.public ResourceDetails getResourceDetails()
Details on the target instance type.
public TargetInstance withResourceDetails(ResourceDetails resourceDetails)
Details on the target instance type.
resourceDetails
- Details on the target instance type.public void setExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
Expected utilization metrics for target instance type.
expectedResourceUtilization
- Expected utilization metrics for target instance type.public ResourceUtilization getExpectedResourceUtilization()
Expected utilization metrics for target instance type.
public TargetInstance withExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
Expected utilization metrics for target instance type.
expectedResourceUtilization
- Expected utilization metrics for target instance type.public String toString()
toString
in class Object
Object.toString()
public TargetInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.