@Generated(value="software.amazon.awssdk:codegen") public final class LicenseRecommendationOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>
Describes the recommendation options for licenses.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LicenseRecommendationOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LicenseRecommendationOption.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LicenseEdition |
licenseEdition()
The recommended edition of the license for the application that runs on the instance.
|
String |
licenseEditionAsString()
The recommended edition of the license for the application that runs on the instance.
|
LicenseModel |
licenseModel()
The recommended license type associated with the instance.
|
String |
licenseModelAsString()
The recommended license type associated with the instance.
|
String |
operatingSystem()
The operating system of a license recommendation option.
|
Integer |
rank()
The rank of the license recommendation option.
|
SavingsOpportunity |
savingsOpportunity()
Returns the value of the SavingsOpportunity property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LicenseRecommendationOption.Builder> |
serializableBuilderClass() |
LicenseRecommendationOption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer rank()
The rank of the license recommendation option.
The top recommendation option is ranked as 1.
The top recommendation option is ranked as 1.
public final String operatingSystem()
The operating system of a license recommendation option.
public final LicenseEdition licenseEdition()
The recommended edition of the license for the application that runs on the instance.
If the service returns an enum value that is not available in the current SDK version, licenseEdition
will return LicenseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from licenseEditionAsString().
LicenseEditionpublic final String licenseEditionAsString()
The recommended edition of the license for the application that runs on the instance.
If the service returns an enum value that is not available in the current SDK version, licenseEdition
will return LicenseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from licenseEditionAsString().
LicenseEditionpublic final LicenseModel licenseModel()
The recommended license type associated with the instance.
If the service returns an enum value that is not available in the current SDK version, licenseModel will
return LicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
licenseModelAsString().
LicenseModelpublic final String licenseModelAsString()
The recommended license type associated with the instance.
If the service returns an enum value that is not available in the current SDK version, licenseModel will
return LicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
licenseModelAsString().
LicenseModelpublic final SavingsOpportunity savingsOpportunity()
public LicenseRecommendationOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>public static LicenseRecommendationOption.Builder builder()
public static Class<? extends LicenseRecommendationOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.