public static interface LicenseConfiguration.Builder extends SdkPojo, CopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>
| Modifier and Type | Method and Description |
|---|---|
LicenseConfiguration.Builder |
instanceType(String instanceType)
The instance type used in the license.
|
LicenseConfiguration.Builder |
licenseEdition(LicenseEdition licenseEdition)
The edition of the license for the application that runs on the instance.
|
LicenseConfiguration.Builder |
licenseEdition(String licenseEdition)
The edition of the license for the application that runs on the instance.
|
LicenseConfiguration.Builder |
licenseModel(LicenseModel licenseModel)
The license type associated with the instance.
|
LicenseConfiguration.Builder |
licenseModel(String licenseModel)
The license type associated with the instance.
|
LicenseConfiguration.Builder |
licenseName(LicenseName licenseName)
The name of the license for the application that runs on the instance.
|
LicenseConfiguration.Builder |
licenseName(String licenseName)
The name of the license for the application that runs on the instance.
|
LicenseConfiguration.Builder |
licenseVersion(String licenseVersion)
The version of the license for the application that runs on the instance.
|
LicenseConfiguration.Builder |
metricsSource(Collection<MetricSource> metricsSource)
The list of metric sources required to generate recommendations for commercial software licenses.
|
LicenseConfiguration.Builder |
metricsSource(Consumer<MetricSource.Builder>... metricsSource)
The list of metric sources required to generate recommendations for commercial software licenses.
|
LicenseConfiguration.Builder |
metricsSource(MetricSource... metricsSource)
The list of metric sources required to generate recommendations for commercial software licenses.
|
LicenseConfiguration.Builder |
numberOfCores(Integer numberOfCores)
The current number of cores associated with the instance.
|
LicenseConfiguration.Builder |
operatingSystem(String operatingSystem)
The operating system of the instance.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLicenseConfiguration.Builder numberOfCores(Integer numberOfCores)
The current number of cores associated with the instance.
numberOfCores - The current number of cores associated with the instance.LicenseConfiguration.Builder instanceType(String instanceType)
The instance type used in the license.
instanceType - The instance type used in the license.LicenseConfiguration.Builder operatingSystem(String operatingSystem)
The operating system of the instance.
operatingSystem - The operating system of the instance.LicenseConfiguration.Builder licenseEdition(String licenseEdition)
The edition of the license for the application that runs on the instance.
licenseEdition - The edition of the license for the application that runs on the instance.LicenseEdition,
LicenseEditionLicenseConfiguration.Builder licenseEdition(LicenseEdition licenseEdition)
The edition of the license for the application that runs on the instance.
licenseEdition - The edition of the license for the application that runs on the instance.LicenseEdition,
LicenseEditionLicenseConfiguration.Builder licenseName(String licenseName)
The name of the license for the application that runs on the instance.
licenseName - The name of the license for the application that runs on the instance.LicenseName,
LicenseNameLicenseConfiguration.Builder licenseName(LicenseName licenseName)
The name of the license for the application that runs on the instance.
licenseName - The name of the license for the application that runs on the instance.LicenseName,
LicenseNameLicenseConfiguration.Builder licenseModel(String licenseModel)
The license type associated with the instance.
licenseModel - The license type associated with the instance.LicenseModel,
LicenseModelLicenseConfiguration.Builder licenseModel(LicenseModel licenseModel)
The license type associated with the instance.
licenseModel - The license type associated with the instance.LicenseModel,
LicenseModelLicenseConfiguration.Builder licenseVersion(String licenseVersion)
The version of the license for the application that runs on the instance.
licenseVersion - The version of the license for the application that runs on the instance.LicenseConfiguration.Builder metricsSource(Collection<MetricSource> metricsSource)
The list of metric sources required to generate recommendations for commercial software licenses.
metricsSource - The list of metric sources required to generate recommendations for commercial software licenses.LicenseConfiguration.Builder metricsSource(MetricSource... metricsSource)
The list of metric sources required to generate recommendations for commercial software licenses.
metricsSource - The list of metric sources required to generate recommendations for commercial software licenses.LicenseConfiguration.Builder metricsSource(Consumer<MetricSource.Builder>... 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 via MetricSource.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #metricsSource(List.
metricsSource - a consumer that will call methods on
MetricSource.Builder#metricsSource(java.util.Collection) Copyright © 2023. All rights reserved.