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