StreamPackagingConfigEncryptionAes128¶
- class oci.media_services.models.StreamPackagingConfigEncryptionAes128(**kwargs)¶
Bases:
StreamPackagingConfigEncryptionAES128 encryption type (enabled by default).
Attributes:
A constant which can be used with the algorithm property of a StreamPackagingConfigEncryption.
A constant which can be used with the algorithm property of a StreamPackagingConfigEncryption.
[Required] Gets the algorithm of this StreamPackagingConfigEncryption.
Gets the kms_key_id of this StreamPackagingConfigEncryptionAes128.
Methods:
__init__(**kwargs)Initializes a new StreamPackagingConfigEncryptionAes128 object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- ALGORITHM_AES128 = 'AES128'¶
A constant which can be used with the algorithm property of a StreamPackagingConfigEncryption. This constant has a value of “AES128”
- ALGORITHM_NONE = 'NONE'¶
A constant which can be used with the algorithm property of a StreamPackagingConfigEncryption. This constant has a value of “NONE”
- __init__(**kwargs)¶
Initializes a new StreamPackagingConfigEncryptionAes128 object with values from keyword arguments. The default value of the
algorithmattribute of this class isAES128and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
algorithm (str) – The value to assign to the algorithm property of this StreamPackagingConfigEncryptionAes128. Allowed values for this property are: “NONE”, “AES128”
kms_key_id (str) – The value to assign to the kms_key_id property of this StreamPackagingConfigEncryptionAes128.
- property algorithm¶
[Required] Gets the algorithm of this StreamPackagingConfigEncryption. The encryption algorithm for the stream packaging configuration.
Allowed values for this property are: “NONE”, “AES128”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The algorithm of this StreamPackagingConfigEncryption.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kms_key_id¶
Gets the kms_key_id of this StreamPackagingConfigEncryptionAes128. The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed).
- Returns
The kms_key_id of this StreamPackagingConfigEncryptionAes128.
- Return type
str