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