DrsFile

class oci.jms.models.DrsFile(**kwargs)

Bases: object

A Deployment Rule Set(DRS) is a JAR (Java ARchive) file used in Java applications to enforce security and manage compatibility between different versions of Java applets and web start applications (https://docs.oracle.com/javase/8/docs/technotes/guides/deploy/deployment_rules.html).

Attributes

CHECKSUM_TYPE_SHA256 A constant which can be used with the checksum_type property of a DrsFile.
bucket_name [Required] Gets the bucket_name of this DrsFile.
checksum_type [Required] Gets the checksum_type of this DrsFile.
checksum_value [Required] Gets the checksum_value of this DrsFile.
drs_file_key [Required] Gets the drs_file_key of this DrsFile.
drs_file_name [Required] Gets the drs_file_name of this DrsFile.
is_default [Required] Gets the is_default of this DrsFile.
namespace [Required] Gets the namespace of this DrsFile.

Methods

__init__(**kwargs) Initializes a new DrsFile object with values from keyword arguments.
CHECKSUM_TYPE_SHA256 = 'SHA256'

A constant which can be used with the checksum_type property of a DrsFile. This constant has a value of “SHA256”

__init__(**kwargs)

Initializes a new DrsFile object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • bucket_name (str) – The value to assign to the bucket_name property of this DrsFile.
  • namespace (str) – The value to assign to the namespace property of this DrsFile.
  • drs_file_name (str) – The value to assign to the drs_file_name property of this DrsFile.
  • drs_file_key (str) – The value to assign to the drs_file_key property of this DrsFile.
  • checksum_type (str) – The value to assign to the checksum_type property of this DrsFile. Allowed values for this property are: “SHA256”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • checksum_value (str) – The value to assign to the checksum_value property of this DrsFile.
  • is_default (bool) – The value to assign to the is_default property of this DrsFile.
bucket_name

[Required] Gets the bucket_name of this DrsFile. The Object Storage bucket name where the DRS file is located.

Returns:The bucket_name of this DrsFile.
Return type:str
checksum_type

[Required] Gets the checksum_type of this DrsFile. The checksum type for the DRS file in Object Storage.

Allowed values for this property are: “SHA256”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The checksum_type of this DrsFile.
Return type:str
checksum_value

[Required] Gets the checksum_value of this DrsFile. The checksum value for the DRS file in Object Storage.

Returns:The checksum_value of this DrsFile.
Return type:str
drs_file_key

[Required] Gets the drs_file_key of this DrsFile. The unique identifier of the DRS file in Object Storage.

Returns:The drs_file_key of this DrsFile.
Return type:str
drs_file_name

[Required] Gets the drs_file_name of this DrsFile. The name of the DRS file in Object Store.

Returns:The drs_file_name of this DrsFile.
Return type:str
is_default

[Required] Gets the is_default of this DrsFile. To check if the DRS file is the detfault ones.

Returns:The is_default of this DrsFile.
Return type:bool
namespace

[Required] Gets the namespace of this DrsFile. The namespace for Object Storage.

Returns:The namespace of this DrsFile.
Return type:str