Interface LicenseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LicenseConfiguration.Builder,
,LicenseConfiguration> SdkBuilder<LicenseConfiguration.Builder,
,LicenseConfiguration> SdkPojo
- Enclosing class:
LicenseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioninstanceType
(String instanceType) The instance type used in the license.licenseEdition
(String licenseEdition) The edition of the license for the application that runs on the instance.licenseEdition
(LicenseEdition licenseEdition) The edition of the license for the application that runs on the instance.licenseModel
(String licenseModel) The license type associated with the instance.licenseModel
(LicenseModel licenseModel) The license type associated with the instance.licenseName
(String licenseName) The name of the license for the application that runs on the instance.licenseName
(LicenseName licenseName) The name of the license for the application that runs on the instance.licenseVersion
(String licenseVersion) The version of the license for the application that runs on the instance.metricsSource
(Collection<MetricSource> metricsSource) The list of metric sources required to generate recommendations for commercial software licenses.metricsSource
(Consumer<MetricSource.Builder>... metricsSource) The list of metric sources required to generate recommendations for commercial software licenses.metricsSource
(MetricSource... metricsSource) The list of metric sources required to generate recommendations for commercial software licenses.numberOfCores
(Integer numberOfCores) The current number of cores associated with the instance.operatingSystem
(String operatingSystem) The operating system of the instance.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
-
numberOfCores
The current number of cores associated with the instance.
- Parameters:
numberOfCores
- The current number of cores associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type used in the license.
- Parameters:
instanceType
- The instance type used in the license.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
The operating system of the instance.
- Parameters:
operatingSystem
- The operating system of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseEdition
The edition of the license for the application that runs on the instance.
- Parameters:
licenseEdition
- The 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 edition of the license for the application that runs on the instance.
- Parameters:
licenseEdition
- The 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:
-
licenseName
The name of the license for the application that runs on the instance.
- Parameters:
licenseName
- The name 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:
-
licenseName
The name of the license for the application that runs on the instance.
- Parameters:
licenseName
- The name 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 license type associated with the instance.
- Parameters:
licenseModel
- The 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 license type associated with the instance.
- Parameters:
licenseModel
- The license type associated with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseVersion
The version of the license for the application that runs on the instance.
- Parameters:
licenseVersion
- The version 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.
-
metricsSource
The list of metric sources required to generate recommendations for commercial software licenses.
- Parameters:
metricsSource
- The list of metric sources required to generate recommendations for commercial software licenses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsSource
The list of metric sources required to generate recommendations for commercial software licenses.
- Parameters:
metricsSource
- The list of metric sources required to generate recommendations for commercial software licenses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsSource
The list of metric sources required to generate recommendations for commercial software licenses.
This is a convenience method that creates an instance of theMetricSource.Builder
avoiding the need to create one manually viaMetricSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricsSource(List<MetricSource>)
.- Parameters:
metricsSource
- a consumer that will call methods onMetricSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-