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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LicenseRecommendationOption.BuilderlicenseEdition(String licenseEdition)The recommended edition of the license for the application that runs on the instance.LicenseRecommendationOption.BuilderlicenseEdition(LicenseEdition licenseEdition)The recommended edition of the license for the application that runs on the instance.LicenseRecommendationOption.BuilderlicenseModel(String licenseModel)The recommended license type associated with the instance.LicenseRecommendationOption.BuilderlicenseModel(LicenseModel licenseModel)The recommended license type associated with the instance.LicenseRecommendationOption.BuilderoperatingSystem(String operatingSystem)The operating system of a license recommendation option.LicenseRecommendationOption.Builderrank(Integer rank)The rank of the license recommendation option.default LicenseRecommendationOption.BuildersavingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity)Sets the value of the SavingsOpportunity property for this object.LicenseRecommendationOption.BuildersavingsOpportunity(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 Detail
-
rank
LicenseRecommendationOption.Builder rank(Integer 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
LicenseRecommendationOption.Builder operatingSystem(String 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
LicenseRecommendationOption.Builder licenseEdition(String 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,LicenseEdition
-
licenseEdition
LicenseRecommendationOption.Builder licenseEdition(LicenseEdition 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,LicenseEdition
-
licenseModel
LicenseRecommendationOption.Builder licenseModel(String 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,LicenseModel
-
licenseModel
LicenseRecommendationOption.Builder licenseModel(LicenseModel 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,LicenseModel
-
savingsOpportunity
LicenseRecommendationOption.Builder savingsOpportunity(SavingsOpportunity 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.Builderavoiding the need to create one manually viaSavingsOpportunity.builder().When the
Consumercompletes,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:
savingsOpportunity(SavingsOpportunity)
-
-