@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.
|
List<String> |
getPlatformDifferences()
Explains the actions you might need to take in order to successfully migrate your workloads from the current
instance type to the recommended 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)
Marshalls this structured data using the given
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 |
setPlatformDifferences(Collection<String> platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current
instance type to the recommended 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 |
withPlatformDifferences(Collection<String> platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current
instance type to the recommended instance type.
|
TargetInstance |
withPlatformDifferences(PlatformDifference... platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current
instance type to the recommended instance type.
|
TargetInstance |
withPlatformDifferences(String... platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current
instance type to the recommended 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 List<String> getPlatformDifferences()
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
PlatformDifference
public void setPlatformDifferences(Collection<String> platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions you might need to take in order to successfully migrate your workloads from the
current instance type to the recommended instance type.PlatformDifference
public TargetInstance withPlatformDifferences(String... platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
NOTE: This method appends the values to the existing list (if any). Use
setPlatformDifferences(java.util.Collection)
or withPlatformDifferences(java.util.Collection)
if you want to override the existing values.
platformDifferences
- Explains the actions you might need to take in order to successfully migrate your workloads from the
current instance type to the recommended instance type.PlatformDifference
public TargetInstance withPlatformDifferences(Collection<String> platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions you might need to take in order to successfully migrate your workloads from the
current instance type to the recommended instance type.PlatformDifference
public TargetInstance withPlatformDifferences(PlatformDifference... platformDifferences)
Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions you might need to take in order to successfully migrate your workloads from the
current instance type to the recommended instance type.PlatformDifference
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.