@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()
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
|
String |
getEstimatedMonthlyCost()
The expected cost to operate this instance type on a monthly basis.
|
String |
getEstimatedMonthlySavings()
The estimated savings that result from modification, on a monthly basis.
|
ResourceUtilization |
getExpectedResourceUtilization()
The expected utilization metrics for target instance type.
|
List<String> |
getPlatformDifferences()
Explains the actions that you might need to take 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()
Determines whether 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)
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
|
void |
setEstimatedMonthlyCost(String estimatedMonthlyCost)
The expected cost to operate this instance type on a monthly basis.
|
void |
setEstimatedMonthlySavings(String estimatedMonthlySavings)
The estimated savings that result from modification, on a monthly basis.
|
void |
setExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
The expected utilization metrics for target instance type.
|
void |
setPlatformDifferences(Collection<String> platformDifferences)
Explains the actions that you might need to take 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 Amazon Web Services used to calculate the costs for this instance.
|
TargetInstance |
withDefaultTargetInstance(Boolean defaultTargetInstance)
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
|
TargetInstance |
withEstimatedMonthlyCost(String estimatedMonthlyCost)
The expected cost to operate this instance type on a monthly basis.
|
TargetInstance |
withEstimatedMonthlySavings(String estimatedMonthlySavings)
The estimated savings that result from modification, on a monthly basis.
|
TargetInstance |
withExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
The expected utilization metrics for target instance type.
|
TargetInstance |
withPlatformDifferences(Collection<String> platformDifferences)
Explains the actions that you might need to take to successfully migrate your workloads from the current instance
type to the recommended instance type.
|
TargetInstance |
withPlatformDifferences(PlatformDifference... platformDifferences)
Explains the actions that you might need to take to successfully migrate your workloads from the current instance
type to the recommended instance type.
|
TargetInstance |
withPlatformDifferences(String... platformDifferences)
Explains the actions that you might need to take 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)
The expected cost to operate this instance type on a monthly basis.
estimatedMonthlyCost
- The expected cost to operate this instance type on a monthly basis.public String getEstimatedMonthlyCost()
The expected cost to operate this instance type on a monthly basis.
public TargetInstance withEstimatedMonthlyCost(String estimatedMonthlyCost)
The expected cost to operate this instance type on a monthly basis.
estimatedMonthlyCost
- The expected cost to operate this instance type on a monthly basis.public void setEstimatedMonthlySavings(String estimatedMonthlySavings)
The estimated savings that result from modification, on a monthly basis.
estimatedMonthlySavings
- The estimated savings that result from modification, on a monthly basis.public String getEstimatedMonthlySavings()
The estimated savings that result from modification, on a monthly basis.
public TargetInstance withEstimatedMonthlySavings(String estimatedMonthlySavings)
The estimated savings that result from modification, on a monthly basis.
estimatedMonthlySavings
- The estimated savings that result 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)
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
defaultTargetInstance
- Determines whether this recommendation is the defaulted Amazon Web Services recommendation.public Boolean getDefaultTargetInstance()
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
public TargetInstance withDefaultTargetInstance(Boolean defaultTargetInstance)
Determines whether this recommendation is the defaulted Amazon Web Services recommendation.
defaultTargetInstance
- Determines whether this recommendation is the defaulted Amazon Web Services recommendation.public Boolean isDefaultTargetInstance()
Determines whether 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)
The expected utilization metrics for target instance type.
expectedResourceUtilization
- The expected utilization metrics for target instance type.public ResourceUtilization getExpectedResourceUtilization()
The expected utilization metrics for target instance type.
public TargetInstance withExpectedResourceUtilization(ResourceUtilization expectedResourceUtilization)
The expected utilization metrics for target instance type.
expectedResourceUtilization
- The expected utilization metrics for target instance type.public List<String> getPlatformDifferences()
Explains the actions that you might need to take 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 that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions that you might need to take to successfully migrate your workloads from the current
instance type to the recommended instance type.PlatformDifference
public TargetInstance withPlatformDifferences(String... platformDifferences)
Explains the actions that you might need to take 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 that you might need to take 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 that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions that you might need to take to successfully migrate your workloads from the current
instance type to the recommended instance type.PlatformDifference
public TargetInstance withPlatformDifferences(PlatformDifference... platformDifferences)
Explains the actions that you might need to take to successfully migrate your workloads from the current instance type to the recommended instance type.
platformDifferences
- Explains the actions that you might need to take 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.