public static class JavaDownloadToken.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JavaDownloadToken |
build() |
JavaDownloadToken.Builder |
compartmentId(String compartmentId)
The OCID of the
tenancy scoped to the JavaDownloadToken.
|
JavaDownloadToken.Builder |
copy(JavaDownloadToken model) |
JavaDownloadToken.Builder |
createdBy(Principal createdBy) |
JavaDownloadToken.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JavaDownloadToken.Builder |
description(String description)
User provided description of the JavaDownloadToken.
|
JavaDownloadToken.Builder |
displayName(String displayName)
User provided display name of the JavaDownloadToken.
|
JavaDownloadToken.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
JavaDownloadToken.Builder |
id(String id)
The OCID of the
JavaDownloadToken.
|
JavaDownloadToken.Builder |
isDefault(Boolean isDefault)
A flag to indicate if the token is default.
|
JavaDownloadToken.Builder |
javaVersion(String javaVersion)
The associated Java version of the JavaDownloadToken.
|
JavaDownloadToken.Builder |
lastUpdatedBy(Principal lastUpdatedBy) |
JavaDownloadToken.Builder |
licenseType(List<LicenseType> licenseType)
The license type(s) associated with the JavaDownloadToken.
|
JavaDownloadToken.Builder |
lifecycleDetails(TokenLifecycleDetails lifecycleDetails)
Possible lifecycle substates.
|
JavaDownloadToken.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the JavaDownloadToken.
|
JavaDownloadToken.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
JavaDownloadToken.Builder |
timeCreated(Date timeCreated)
The time the JavaDownloadToken was created, displayed as an
RFC3339 formatted datetime string.
|
JavaDownloadToken.Builder |
timeExpires(Date timeExpires)
The expiry time of the JavaDownloadToken, displayed as an
RFC3339 formatted datetime string.
|
JavaDownloadToken.Builder |
timeLastUsed(Date timeLastUsed)
The time the JavaDownloadToken was last used for download, displayed as an
RFC3339 formatted datetime string.
|
JavaDownloadToken.Builder |
timeUpdated(Date timeUpdated)
The time the JavaDownloadToken was updated, displayed as an
RFC3339 formatted datetime string.
|
JavaDownloadToken.Builder |
value(String value)
Uniquely generated value for the JavaDownloadToken.
|
public JavaDownloadToken.Builder id(String id)
The OCID of the JavaDownloadToken.
id
- the value to setpublic JavaDownloadToken.Builder displayName(String displayName)
User provided display name of the JavaDownloadToken.
displayName
- the value to setpublic JavaDownloadToken.Builder compartmentId(String compartmentId)
The OCID of the tenancy scoped to the JavaDownloadToken.
compartmentId
- the value to setpublic JavaDownloadToken.Builder createdBy(Principal createdBy)
public JavaDownloadToken.Builder lastUpdatedBy(Principal lastUpdatedBy)
public JavaDownloadToken.Builder description(String description)
User provided description of the JavaDownloadToken.
description
- the value to setpublic JavaDownloadToken.Builder value(String value)
Uniquely generated value for the JavaDownloadToken.
value
- the value to setpublic JavaDownloadToken.Builder timeCreated(Date timeCreated)
The time the JavaDownloadToken was created, displayed as an RFC3339 formatted datetime string.
timeCreated
- the value to setpublic JavaDownloadToken.Builder timeUpdated(Date timeUpdated)
The time the JavaDownloadToken was updated, displayed as an RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic JavaDownloadToken.Builder timeLastUsed(Date timeLastUsed)
The time the JavaDownloadToken was last used for download, displayed as an RFC3339 formatted datetime string.
timeLastUsed
- the value to setpublic JavaDownloadToken.Builder timeExpires(Date timeExpires)
The expiry time of the JavaDownloadToken, displayed as an RFC3339 formatted datetime string.
timeExpires
- the value to setpublic JavaDownloadToken.Builder javaVersion(String javaVersion)
The associated Java version of the JavaDownloadToken.
javaVersion
- the value to setpublic JavaDownloadToken.Builder licenseType(List<LicenseType> licenseType)
The license type(s) associated with the JavaDownloadToken.
licenseType
- the value to setpublic JavaDownloadToken.Builder isDefault(Boolean isDefault)
A flag to indicate if the token is default.
isDefault
- the value to setpublic JavaDownloadToken.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the JavaDownloadToken.
lifecycleState
- the value to setpublic JavaDownloadToken.Builder lifecycleDetails(TokenLifecycleDetails lifecycleDetails)
Possible lifecycle substates.
lifecycleDetails
- the value to setpublic JavaDownloadToken.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 JavaDownloadToken.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 JavaDownloadToken.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"}}
systemTags
- the value to setpublic JavaDownloadToken build()
public JavaDownloadToken.Builder copy(JavaDownloadToken model)
Copyright © 2016–2024. All rights reserved.