Class JavaLicenseAcceptanceRecord.Builder
- java.lang.Object
-
- com.oracle.bmc.jmsjavadownloads.model.JavaLicenseAcceptanceRecord.Builder
-
- Enclosing class:
- JavaLicenseAcceptanceRecord
public static class JavaLicenseAcceptanceRecord.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public JavaLicenseAcceptanceRecord.Builder id(String id)
The unique identifier for the acceptance record.- Parameters:
id
- the value to set- Returns:
- this builder
-
licenseAcceptanceStatus
public JavaLicenseAcceptanceRecord.Builder licenseAcceptanceStatus(LicenseAcceptanceStatus licenseAcceptanceStatus)
Status of license acceptance.- Parameters:
licenseAcceptanceStatus
- the value to set- Returns:
- this builder
-
compartmentId
public JavaLicenseAcceptanceRecord.Builder compartmentId(String compartmentId)
The tenancy OCID of the user accepting the license.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
licenseType
public JavaLicenseAcceptanceRecord.Builder licenseType(LicenseType licenseType)
License type associated with the acceptance.- Parameters:
licenseType
- the value to set- Returns:
- this builder
-
createdBy
public JavaLicenseAcceptanceRecord.Builder createdBy(Principal createdBy)
-
lastUpdatedBy
public JavaLicenseAcceptanceRecord.Builder lastUpdatedBy(Principal lastUpdatedBy)
-
timeAccepted
public JavaLicenseAcceptanceRecord.Builder timeAccepted(Date timeAccepted)
The date and time of license acceptance (formatted according to RFC3339).- Parameters:
timeAccepted
- the value to set- Returns:
- this builder
-
timeLastUpdated
public JavaLicenseAcceptanceRecord.Builder timeLastUpdated(Date timeLastUpdated)
The date and time of last update (formatted according to RFC3339).- Parameters:
timeLastUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public JavaLicenseAcceptanceRecord.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the JavaLicenseAcceptanceRecord.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public JavaLicenseAcceptanceRecord.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”}. (See Managing Tags and Tag Namespaces.)
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public JavaLicenseAcceptanceRecord.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”}}. (See Understanding Free-form Tags).
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public JavaLicenseAcceptanceRecord.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public JavaLicenseAcceptanceRecord build()
-
copy
public JavaLicenseAcceptanceRecord.Builder copy(JavaLicenseAcceptanceRecord model)
-
-