@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 AWS used to calculate the costs for this instance.
|
Boolean |
getDefaultTargetInstance()
Indicates whether this recommendation is the defaulted AWS 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 this recommendation is the defaulted AWS recommendation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCurrencyCode(String currencyCode)
The currency code that AWS used to calculate the costs for this instance.
|
void |
setDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether this recommendation is the defaulted AWS 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 AWS used to calculate the costs for this instance.
|
TargetInstance |
withDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether this recommendation is the defaulted AWS 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 AWS used to calculate the costs for this instance.
currencyCode
- The currency code that AWS used to calculate the costs for this instance.public String getCurrencyCode()
The currency code that AWS used to calculate the costs for this instance.
public TargetInstance withCurrencyCode(String currencyCode)
The currency code that AWS used to calculate the costs for this instance.
currencyCode
- The currency code that AWS used to calculate the costs for this instance.public void setDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether this recommendation is the defaulted AWS recommendation.
defaultTargetInstance
- Indicates whether this recommendation is the defaulted AWS recommendation.public Boolean getDefaultTargetInstance()
Indicates whether this recommendation is the defaulted AWS recommendation.
public TargetInstance withDefaultTargetInstance(Boolean defaultTargetInstance)
Indicates whether this recommendation is the defaulted AWS recommendation.
defaultTargetInstance
- Indicates whether this recommendation is the defaulted AWS recommendation.public Boolean isDefaultTargetInstance()
Indicates whether this recommendation is the defaulted AWS 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)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.