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