@Generated(value="software.amazon.awssdk:codegen") public final class TargetInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetInstance.Builder,TargetInstance>
Details on recommended instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetInstance.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TargetInstance.Builder |
builder() |
String |
currencyCode()
The currency code that AWS used to calculate the costs for this instance.
|
Boolean |
defaultTargetInstance()
Indicates whether this recommendation is the defaulted AWS recommendation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
estimatedMonthlyCost()
Expected cost to operate this instance type on a monthly basis.
|
String |
estimatedMonthlySavings()
Estimated savings resulting from modification, on a monthly basis.
|
ResourceUtilization |
expectedResourceUtilization()
Expected utilization metrics for target instance type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPlatformDifferences()
Returns true if the PlatformDifferences property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<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.
|
List<String> |
platformDifferencesAsStrings()
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 |
resourceDetails()
Details on the target instance type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetInstance.Builder> |
serializableBuilderClass() |
TargetInstance.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String estimatedMonthlyCost()
Expected cost to operate this instance type on a monthly basis.
public final String estimatedMonthlySavings()
Estimated savings resulting from modification, on a monthly basis.
public final String currencyCode()
The currency code that AWS used to calculate the costs for this instance.
public final Boolean defaultTargetInstance()
Indicates whether this recommendation is the defaulted AWS recommendation.
public final ResourceDetails resourceDetails()
Details on the target instance type.
public final ResourceUtilization expectedResourceUtilization()
Expected utilization metrics for target instance type.
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPlatformDifferences() to see if a value was sent in this field.
public final boolean hasPlatformDifferences()
public final List<String> platformDifferencesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPlatformDifferences() to see if a value was sent in this field.
public TargetInstance.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetInstance.Builder,TargetInstance>public static TargetInstance.Builder builder()
public static Class<? extends TargetInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.