Interface LicenseRecommendationOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LicenseRecommendationOption.Builder,
,LicenseRecommendationOption> SdkBuilder<LicenseRecommendationOption.Builder,
,LicenseRecommendationOption> SdkPojo
- Enclosing class:
LicenseRecommendationOption
public static interface LicenseRecommendationOption.Builder
extends SdkPojo, CopyableBuilder<LicenseRecommendationOption.Builder,LicenseRecommendationOption>
-
Method Summary
Modifier and TypeMethodDescriptionlicenseEdition
(String licenseEdition) The recommended edition of the license for the application that runs on the instance.licenseEdition
(LicenseEdition licenseEdition) The recommended edition of the license for the application that runs on the instance.licenseModel
(String licenseModel) The recommended license type associated with the instance.licenseModel
(LicenseModel licenseModel) The recommended license type associated with the instance.operatingSystem
(String operatingSystem) The operating system of a license recommendation option.The rank of the license recommendation option.savingsOpportunity
(Consumer<SavingsOpportunity.Builder> savingsOpportunity) Sets the value of the SavingsOpportunity property for this object.savingsOpportunity
(SavingsOpportunity savingsOpportunity) Sets the value of the SavingsOpportunity property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
rank
The rank of the license recommendation option.
The top recommendation option is ranked as
1
.- Parameters:
rank
- The rank of the license recommendation option.The top recommendation option is ranked as
1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
The operating system of a license recommendation option.
- Parameters:
operatingSystem
- The operating system of a license recommendation option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseEdition
The recommended edition of the license for the application that runs on the instance.
- Parameters:
licenseEdition
- The recommended edition of the license for the application that runs on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseEdition
The recommended edition of the license for the application that runs on the instance.
- Parameters:
licenseEdition
- The recommended edition of the license for the application that runs on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseModel
The recommended license type associated with the instance.
- Parameters:
licenseModel
- The recommended license type associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseModel
The recommended license type associated with the instance.
- Parameters:
licenseModel
- The recommended license type associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsOpportunity
Sets the value of the SavingsOpportunity property for this object.- Parameters:
savingsOpportunity
- The new value for the SavingsOpportunity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
default LicenseRecommendationOption.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity) Sets the value of the SavingsOpportunity property for this object. This is a convenience method that creates an instance of theSavingsOpportunity.Builder
avoiding the need to create one manually viaSavingsOpportunity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunity(SavingsOpportunity)
.- Parameters:
savingsOpportunity
- a consumer that will call methods onSavingsOpportunity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-