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.
17 18 19 20 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 17 def initialize( = {}) @key = validate_key([:key]) @description = validate_desc([:description]) end |
Instance Attribute Details
#description ⇒ String<JSON> (readonly)
26 27 28 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 26 def description @description end |
#key ⇒ OpenSSL::PKey::RSA, String (readonly)
23 24 25 |
# File 'lib/aws-sdk-s3/encryption/materials.rb', line 23 def key @key end |