public static class UpdateJavaDownloadTokenDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateJavaDownloadTokenDetails.Builder displayName(String displayName)
User provided display name of the JavaDownloadToken.
displayName
- the value to setpublic UpdateJavaDownloadTokenDetails.Builder description(String description)
User provided description of the JavaDownloadToken.
description
- the value to setpublic UpdateJavaDownloadTokenDetails.Builder isDefault(Boolean isDefault)
Update the token default status.
isDefault
- the value to setpublic UpdateJavaDownloadTokenDetails.Builder timeExpires(Date timeExpires)
Expiry time of the token.
timeExpires
- the value to setpublic UpdateJavaDownloadTokenDetails.Builder licenseType(List<LicenseType> licenseType)
The license type(s) associated with the JavaDownloadToken.
licenseType
- the value to setpublic 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.)
freeformTags
- the value to setpublic 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).
definedTags
- the value to setpublic UpdateJavaDownloadTokenDetails build()
public UpdateJavaDownloadTokenDetails.Builder copy(UpdateJavaDownloadTokenDetails model)
Copyright © 2016–2024. All rights reserved.