@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseRecommendationOption extends Object implements Serializable, Cloneable, StructuredPojo
Describes the recommendation options for licenses.
Constructor and Description |
---|
LicenseRecommendationOption() |
Modifier and Type | Method and Description |
---|---|
LicenseRecommendationOption |
clone() |
boolean |
equals(Object obj) |
String |
getLicenseEdition()
The recommended edition of the license for the application that runs on the instance.
|
String |
getLicenseModel()
The recommended license type associated with the instance.
|
String |
getOperatingSystem()
The operating system of a license recommendation option.
|
Integer |
getRank()
The rank of the license recommendation option.
|
SavingsOpportunity |
getSavingsOpportunity() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLicenseEdition(String licenseEdition)
The recommended edition of the license for the application that runs on the instance.
|
void |
setLicenseModel(String licenseModel)
The recommended license type associated with the instance.
|
void |
setOperatingSystem(String operatingSystem)
The operating system of a license recommendation option.
|
void |
setRank(Integer rank)
The rank of the license recommendation option.
|
void |
setSavingsOpportunity(SavingsOpportunity savingsOpportunity) |
String |
toString()
Returns a string representation of this object.
|
LicenseRecommendationOption |
withLicenseEdition(LicenseEdition licenseEdition)
The recommended edition of the license for the application that runs on the instance.
|
LicenseRecommendationOption |
withLicenseEdition(String licenseEdition)
The recommended edition of the license for the application that runs on the instance.
|
LicenseRecommendationOption |
withLicenseModel(LicenseModel licenseModel)
The recommended license type associated with the instance.
|
LicenseRecommendationOption |
withLicenseModel(String licenseModel)
The recommended license type associated with the instance.
|
LicenseRecommendationOption |
withOperatingSystem(String operatingSystem)
The operating system of a license recommendation option.
|
LicenseRecommendationOption |
withRank(Integer rank)
The rank of the license recommendation option.
|
LicenseRecommendationOption |
withSavingsOpportunity(SavingsOpportunity savingsOpportunity) |
public void setRank(Integer rank)
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
public Integer getRank()
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
The top recommendation option is ranked as 1
.
public LicenseRecommendationOption withRank(Integer rank)
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
public void setOperatingSystem(String operatingSystem)
The operating system of a license recommendation option.
operatingSystem
- The operating system of a license recommendation option.public String getOperatingSystem()
The operating system of a license recommendation option.
public LicenseRecommendationOption withOperatingSystem(String operatingSystem)
The operating system of a license recommendation option.
operatingSystem
- The operating system of a license recommendation option.public void setLicenseEdition(String licenseEdition)
The recommended edition of the license for the application that runs on the instance.
licenseEdition
- The recommended edition of the license for the application that runs on the instance.LicenseEdition
public String getLicenseEdition()
The recommended edition of the license for the application that runs on the instance.
LicenseEdition
public LicenseRecommendationOption withLicenseEdition(String licenseEdition)
The recommended edition of the license for the application that runs on the instance.
licenseEdition
- The recommended edition of the license for the application that runs on the instance.LicenseEdition
public LicenseRecommendationOption withLicenseEdition(LicenseEdition licenseEdition)
The recommended edition of the license for the application that runs on the instance.
licenseEdition
- The recommended edition of the license for the application that runs on the instance.LicenseEdition
public void setLicenseModel(String licenseModel)
The recommended license type associated with the instance.
licenseModel
- The recommended license type associated with the instance.LicenseModel
public String getLicenseModel()
The recommended license type associated with the instance.
LicenseModel
public LicenseRecommendationOption withLicenseModel(String licenseModel)
The recommended license type associated with the instance.
licenseModel
- The recommended license type associated with the instance.LicenseModel
public LicenseRecommendationOption withLicenseModel(LicenseModel licenseModel)
The recommended license type associated with the instance.
licenseModel
- The recommended license type associated with the instance.LicenseModel
public void setSavingsOpportunity(SavingsOpportunity savingsOpportunity)
savingsOpportunity
- public SavingsOpportunity getSavingsOpportunity()
public LicenseRecommendationOption withSavingsOpportunity(SavingsOpportunity savingsOpportunity)
savingsOpportunity
- public String toString()
toString
in class Object
Object.toString()
public LicenseRecommendationOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.