DrsFileSummary

class oci.jms.models.DrsFileSummary(**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 DrsFileSummary.
bucket_name [Required] Gets the bucket_name of this DrsFileSummary.
checksum_type [Required] Gets the checksum_type of this DrsFileSummary.
checksum_value [Required] Gets the checksum_value of this DrsFileSummary.
drs_file_key [Required] Gets the drs_file_key of this DrsFileSummary.
drs_file_name [Required] Gets the drs_file_name of this DrsFileSummary.
is_default [Required] Gets the is_default of this DrsFileSummary.
namespace [Required] Gets the namespace of this DrsFileSummary.

Methods

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

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

__init__(**kwargs)

Initializes a new DrsFileSummary 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 DrsFileSummary.
  • namespace (str) – The value to assign to the namespace property of this DrsFileSummary.
  • drs_file_name (str) – The value to assign to the drs_file_name property of this DrsFileSummary.
  • drs_file_key (str) – The value to assign to the drs_file_key property of this DrsFileSummary.
  • checksum_type (str) – The value to assign to the checksum_type property of this DrsFileSummary. 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 DrsFileSummary.
  • is_default (bool) – The value to assign to the is_default property of this DrsFileSummary.
bucket_name

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

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

[Required] Gets the checksum_type of this DrsFileSummary. 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 DrsFileSummary.
Return type:str
checksum_value

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

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

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

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

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

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

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

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

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

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