Class CreateProductLicenseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.model.CreateProductLicenseDetails.Builder
-
- Enclosing class:
- CreateProductLicenseDetails
public static class CreateProductLicenseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateProductLicenseDetailsbuild()CreateProductLicenseDetails.BuildercompartmentId(String compartmentId)The compartment OCID where product licenses are created.CreateProductLicenseDetails.Buildercopy(CreateProductLicenseDetails model)CreateProductLicenseDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateProductLicenseDetails.BuilderdisplayName(String displayName)Name of the product license.CreateProductLicenseDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.CreateProductLicenseDetails.Builderimages(List<ImageDetails> images)The image details associated with the product license.CreateProductLicenseDetails.BuilderisVendorOracle(Boolean isVendorOracle)Specifies if the product license vendor is Oracle or a third party.CreateProductLicenseDetails.BuilderlicenseUnit(LicenseUnit licenseUnit)The product license unit.CreateProductLicenseDetails.BuildervendorName(String vendorName)The product license vendor name, for example: Microsoft, RHEL, and so on.
-
-
-
Method Detail
-
compartmentId
public CreateProductLicenseDetails.Builder compartmentId(String compartmentId)
The compartment OCID where product licenses are created.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isVendorOracle
public CreateProductLicenseDetails.Builder isVendorOracle(Boolean isVendorOracle)
Specifies if the product license vendor is Oracle or a third party.- Parameters:
isVendorOracle- the value to set- Returns:
- this builder
-
displayName
public CreateProductLicenseDetails.Builder displayName(String displayName)
Name of the product license.- Parameters:
displayName- the value to set- Returns:
- this builder
-
licenseUnit
public CreateProductLicenseDetails.Builder licenseUnit(LicenseUnit licenseUnit)
The product license unit.- Parameters:
licenseUnit- the value to set- Returns:
- this builder
-
vendorName
public CreateProductLicenseDetails.Builder vendorName(String vendorName)
The product license vendor name, for example: Microsoft, RHEL, and so on.- Parameters:
vendorName- the value to set- Returns:
- this builder
-
images
public CreateProductLicenseDetails.Builder images(List<ImageDetails> images)
The image details associated with the product license.- Parameters:
images- the value to set- Returns:
- this builder
-
freeformTags
public CreateProductLicenseDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateProductLicenseDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateProductLicenseDetails build()
-
copy
public CreateProductLicenseDetails.Builder copy(CreateProductLicenseDetails model)
-
-