Interface LicenseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>,SdkBuilder<LicenseConfiguration.Builder,LicenseConfiguration>,SdkPojo
- Enclosing class:
- LicenseConfiguration
public static interface LicenseConfiguration.Builder extends SdkPojo, CopyableBuilder<LicenseConfiguration.Builder,LicenseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LicenseConfiguration.BuilderinstanceType(String instanceType)The instance type used in the license.LicenseConfiguration.BuilderlicenseEdition(String licenseEdition)The edition of the license for the application that runs on the instance.LicenseConfiguration.BuilderlicenseEdition(LicenseEdition licenseEdition)The edition of the license for the application that runs on the instance.LicenseConfiguration.BuilderlicenseModel(String licenseModel)The license type associated with the instance.LicenseConfiguration.BuilderlicenseModel(LicenseModel licenseModel)The license type associated with the instance.LicenseConfiguration.BuilderlicenseName(String licenseName)The name of the license for the application that runs on the instance.LicenseConfiguration.BuilderlicenseName(LicenseName licenseName)The name of the license for the application that runs on the instance.LicenseConfiguration.BuilderlicenseVersion(String licenseVersion)The version of the license for the application that runs on the instance.LicenseConfiguration.BuildermetricsSource(Collection<MetricSource> metricsSource)The list of metric sources required to generate recommendations for commercial software licenses.LicenseConfiguration.BuildermetricsSource(Consumer<MetricSource.Builder>... metricsSource)The list of metric sources required to generate recommendations for commercial software licenses.LicenseConfiguration.BuildermetricsSource(MetricSource... metricsSource)The list of metric sources required to generate recommendations for commercial software licenses.LicenseConfiguration.BuildernumberOfCores(Integer numberOfCores)The current number of cores associated with the instance.LicenseConfiguration.BuilderoperatingSystem(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 Detail
-
numberOfCores
LicenseConfiguration.Builder numberOfCores(Integer 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
LicenseConfiguration.Builder instanceType(String 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
LicenseConfiguration.Builder operatingSystem(String 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
LicenseConfiguration.Builder licenseEdition(String 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,LicenseEdition
-
licenseEdition
LicenseConfiguration.Builder licenseEdition(LicenseEdition 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,LicenseEdition
-
licenseName
LicenseConfiguration.Builder licenseName(String 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,LicenseName
-
licenseName
LicenseConfiguration.Builder licenseName(LicenseName 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,LicenseName
-
licenseModel
LicenseConfiguration.Builder licenseModel(String 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,LicenseModel
-
licenseModel
LicenseConfiguration.Builder licenseModel(LicenseModel 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,LicenseModel
-
licenseVersion
LicenseConfiguration.Builder licenseVersion(String 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
LicenseConfiguration.Builder metricsSource(Collection<MetricSource> 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
LicenseConfiguration.Builder metricsSource(MetricSource... 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
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.Builderavoiding the need to create one manually viaMetricSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricsSource(List.) - 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:
#metricsSource(java.util.Collection)
-
-