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 Details

    • 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

      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:
    • 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

      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:
    • 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

      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:
    • 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

      The list of metric sources required to generate recommendations for commercial software licenses.

      This is a convenience method that creates an instance of the MetricSource.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<MetricSource>).

      Parameters:
      metricsSource - a consumer that will call methods on MetricSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: