Class: AWSCDK::ODB::CfnCloudExadataInfrastructure::CustomerContactProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
odb/cfn_cloud_exadata_infrastructure.rb

Overview

A contact to receive notification from Oracle about maintenance updates for a specific Exadata infrastructure.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email: nil) ⇒ CustomerContactProperty

Returns a new instance of CustomerContactProperty.

Parameters:

  • email (String, nil) (defaults to: nil)

    The email address of the contact.



812
813
814
815
# File 'odb/cfn_cloud_exadata_infrastructure.rb', line 812

def initialize(email: nil)
  @email = email
  Jsii::Type.check_type(@email, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "email") unless @email.nil?
end

Instance Attribute Details

#emailString? (readonly)

The email address of the contact.



821
822
823
# File 'odb/cfn_cloud_exadata_infrastructure.rb', line 821

def email
  @email
end

Class Method Details

.jsii_propertiesObject



823
824
825
826
827
# File 'odb/cfn_cloud_exadata_infrastructure.rb', line 823

def self.jsii_properties
  {
    :email => "email",
  }
end

Instance Method Details

#to_jsiiObject



829
830
831
832
833
834
835
# File 'odb/cfn_cloud_exadata_infrastructure.rb', line 829

def to_jsii
  result = {}
  result.merge!({
    "email" => @email,
  })
  result.compact
end