Class CreateJavaDownloadTokenDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.jmsjavadownloads.model.CreateJavaDownloadTokenDetails.Builder
-
- Enclosing class:
- CreateJavaDownloadTokenDetails
public static class CreateJavaDownloadTokenDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateJavaDownloadTokenDetails.Builder displayName(String displayName)
User provided display name of the JavaDownloadToken.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateJavaDownloadTokenDetails.Builder description(String description)
User provided description of the JavaDownloadToken.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public CreateJavaDownloadTokenDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy scoped to the JavaDownloadToken.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
isDefault
public CreateJavaDownloadTokenDetails.Builder isDefault(Boolean isDefault)
The token default attribute.- Parameters:
isDefault
- the value to set- Returns:
- this builder
-
timeExpires
public CreateJavaDownloadTokenDetails.Builder timeExpires(Date timeExpires)
Expiry time of the token.- Parameters:
timeExpires
- the value to set- Returns:
- this builder
-
javaVersion
public CreateJavaDownloadTokenDetails.Builder javaVersion(String javaVersion)
The Java version associated with the token.- Parameters:
javaVersion
- the value to set- Returns:
- this builder
-
licenseType
public CreateJavaDownloadTokenDetails.Builder licenseType(List<LicenseType> licenseType)
The license type(s) associated with the JavaDownloadToken.- Parameters:
licenseType
- the value to set- Returns:
- this builder
-
freeformTags
public CreateJavaDownloadTokenDetails.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 CreateJavaDownloadTokenDetails.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
-
build
public CreateJavaDownloadTokenDetails build()
-
copy
public CreateJavaDownloadTokenDetails.Builder copy(CreateJavaDownloadTokenDetails model)
-
-