Package com.oracle.bmc.core.model
Class LicensingConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.LicensingConfig.Builder
-
- Enclosing class:
- LicensingConfig
public static class LicensingConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicensingConfig
build()
LicensingConfig.Builder
copy(LicensingConfig model)
LicensingConfig.Builder
licenseType(LicensingConfig.LicenseType licenseType)
License Type for the OS license.LicensingConfig.Builder
osVersion(String osVersion)
The Operating System version of the license config.LicensingConfig.Builder
type(LicensingConfig.Type type)
Operating System type of the Configuration.
-
-
-
Method Detail
-
type
public LicensingConfig.Builder type(LicensingConfig.Type type)
Operating System type of the Configuration.- Parameters:
type
- the value to set- Returns:
- this builder
-
licenseType
public LicensingConfig.Builder licenseType(LicensingConfig.LicenseType licenseType)
License Type for the OS license.- OCI_PROVIDED - OCI provided license (e.g. metered $/OCPU-hour). * BRING_YOUR_OWN_LICENSE - Bring your own license.
- Parameters:
licenseType
- the value to set- Returns:
- this builder
-
osVersion
public LicensingConfig.Builder osVersion(String osVersion)
The Operating System version of the license config.- Parameters:
osVersion
- the value to set- Returns:
- this builder
-
build
public LicensingConfig build()
-
copy
public LicensingConfig.Builder copy(LicensingConfig model)
-
-