Class: Aws::S3::Encryption::Materials
- Inherits:
-
Object
- Object
- Aws::S3::Encryption::Materials
- Defined in:
- lib/aws-sdk-s3/encryption/materials.rb
Instance Attribute Summary collapse
- #description ⇒ String<JSON> readonly
- #key ⇒ OpenSSL::PKey::RSA, String readonly
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Materials
constructor
A new instance of Materials.
Constructor Details
#initialize(options = {}) ⇒ Materials
Returns a new instance of Materials.
15 16 17 18 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 15 def initialize( = {}) @key = validate_key([:key]) @description = validate_desc([:description]) end |
Instance Attribute Details
#description ⇒ String<JSON> (readonly)
24 25 26 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 24 def description @description end |
#key ⇒ OpenSSL::PKey::RSA, String (readonly)
21 22 23 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 21 def key @key end |