CreateJavaDownloadTokenDetails¶
-
class
oci.jms_java_downloads.models.
CreateJavaDownloadTokenDetails
(**kwargs)¶ Bases:
object
The attributes to create a new JavaDownloadToken.
Methods
__init__
(**kwargs)Initializes a new CreateJavaDownloadTokenDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateJavaDownloadTokenDetails. defined_tags
Gets the defined_tags of this CreateJavaDownloadTokenDetails. description
[Required] Gets the description of this CreateJavaDownloadTokenDetails. display_name
[Required] Gets the display_name of this CreateJavaDownloadTokenDetails. freeform_tags
Gets the freeform_tags of this CreateJavaDownloadTokenDetails. is_default
Gets the is_default of this CreateJavaDownloadTokenDetails. java_version
[Required] Gets the java_version of this CreateJavaDownloadTokenDetails. license_type
[Required] Gets the license_type of this CreateJavaDownloadTokenDetails. time_expires
[Required] Gets the time_expires of this CreateJavaDownloadTokenDetails. -
__init__
(**kwargs)¶ Initializes a new CreateJavaDownloadTokenDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateJavaDownloadTokenDetails.
- description (str) – The value to assign to the description property of this CreateJavaDownloadTokenDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateJavaDownloadTokenDetails.
- is_default (bool) – The value to assign to the is_default property of this CreateJavaDownloadTokenDetails.
- time_expires (datetime) – The value to assign to the time_expires property of this CreateJavaDownloadTokenDetails.
- java_version (str) – The value to assign to the java_version property of this CreateJavaDownloadTokenDetails.
- license_type (list[oci.jms_java_downloads.models.LicenseType]) – The value to assign to the license_type property of this CreateJavaDownloadTokenDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateJavaDownloadTokenDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateJavaDownloadTokenDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateJavaDownloadTokenDetails. The OCID of the tenancy scoped to the JavaDownloadToken.
Returns: The compartment_id of this CreateJavaDownloadTokenDetails. Return type: str
Gets the defined_tags of this CreateJavaDownloadTokenDetails. 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).
Returns: The defined_tags of this CreateJavaDownloadTokenDetails. Return type: dict(str, dict(str, object))
-
description
¶ [Required] Gets the description of this CreateJavaDownloadTokenDetails. User provided description of the JavaDownloadToken.
Returns: The description of this CreateJavaDownloadTokenDetails. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CreateJavaDownloadTokenDetails. User provided display name of the JavaDownloadToken.
Returns: The display_name of this CreateJavaDownloadTokenDetails. Return type: str
Gets the freeform_tags of this CreateJavaDownloadTokenDetails. 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.)
Returns: The freeform_tags of this CreateJavaDownloadTokenDetails. Return type: dict(str, str)
-
is_default
¶ Gets the is_default of this CreateJavaDownloadTokenDetails. The token default attribute.
Returns: The is_default of this CreateJavaDownloadTokenDetails. Return type: bool
-
java_version
¶ [Required] Gets the java_version of this CreateJavaDownloadTokenDetails. The Java version associated with the token.
Returns: The java_version of this CreateJavaDownloadTokenDetails. Return type: str
-
license_type
¶ [Required] Gets the license_type of this CreateJavaDownloadTokenDetails. The license type(s) associated with the JavaDownloadToken.
Returns: The license_type of this CreateJavaDownloadTokenDetails. Return type: list[oci.jms_java_downloads.models.LicenseType]
-
time_expires
¶ [Required] Gets the time_expires of this CreateJavaDownloadTokenDetails. Expiry time of the token.
Returns: The time_expires of this CreateJavaDownloadTokenDetails. Return type: datetime
-