Class LicenseRecommendationOption
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.LicenseRecommendationOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>
@Generated("software.amazon.awssdk:codegen") public final class LicenseRecommendationOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>
Describes the recommendation options for licenses.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLicenseRecommendationOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LicenseRecommendationOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LicenseEditionlicenseEdition()The recommended edition of the license for the application that runs on the instance.StringlicenseEditionAsString()The recommended edition of the license for the application that runs on the instance.LicenseModellicenseModel()The recommended license type associated with the instance.StringlicenseModelAsString()The recommended license type associated with the instance.StringoperatingSystem()The operating system of a license recommendation option.Integerrank()The rank of the license recommendation option.SavingsOpportunitysavingsOpportunity()Returns the value of the SavingsOpportunity property for this object.List<SdkField<?>>sdkFields()static Class<? extends LicenseRecommendationOption.Builder>serializableBuilderClass()LicenseRecommendationOption.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
rank
public final Integer rank()
The rank of the license recommendation option.
The top recommendation option is ranked as
1.- Returns:
- The rank of the license recommendation option.
The top recommendation option is ranked as
1.
-
operatingSystem
public final String operatingSystem()
The operating system of a license recommendation option.
- Returns:
- The operating system of a license recommendation option.
-
licenseEdition
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,
licenseEditionwill returnLicenseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseEditionAsString().- Returns:
- The recommended edition of the license for the application that runs on the instance.
- See Also:
LicenseEdition
-
licenseEditionAsString
public 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,
licenseEditionwill returnLicenseEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseEditionAsString().- Returns:
- The recommended edition of the license for the application that runs on the instance.
- See Also:
LicenseEdition
-
licenseModel
public 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,
licenseModelwill returnLicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseModelAsString().- Returns:
- The recommended license type associated with the instance.
- See Also:
LicenseModel
-
licenseModelAsString
public 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,
licenseModelwill returnLicenseModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlicenseModelAsString().- Returns:
- The recommended license type associated with the instance.
- See Also:
LicenseModel
-
savingsOpportunity
public final SavingsOpportunity savingsOpportunity()
Returns the value of the SavingsOpportunity property for this object.- Returns:
- The value of the SavingsOpportunity property for this object.
-
toBuilder
public LicenseRecommendationOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>
-
builder
public static LicenseRecommendationOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends LicenseRecommendationOption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-