Class: AWSCDK::Interfaces::AWSNetworkmanager::LinkAssociationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSNetworkmanager::LinkAssociationReference
- Defined in:
- interfaces/aws_networkmanager/link_association_reference.rb
Overview
A reference to a LinkAssociation resource.
Instance Attribute Summary collapse
-
#device_id ⇒ String
readonly
The DeviceId of the LinkAssociation resource.
-
#global_network_id ⇒ String
readonly
The GlobalNetworkId of the LinkAssociation resource.
-
#link_id ⇒ String
readonly
The LinkId of the LinkAssociation resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(device_id:, global_network_id:, link_id:) ⇒ LinkAssociationReference
constructor
A new instance of LinkAssociationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(device_id:, global_network_id:, link_id:) ⇒ LinkAssociationReference
Returns a new instance of LinkAssociationReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 10 def initialize(device_id:, global_network_id:, link_id:) @device_id = device_id Jsii::Type.check_type(@device_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deviceId") @global_network_id = global_network_id Jsii::Type.check_type(@global_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "globalNetworkId") @link_id = link_id Jsii::Type.check_type(@link_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "linkId") end |
Instance Attribute Details
#device_id ⇒ String (readonly)
The DeviceId of the LinkAssociation resource.
22 23 24 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 22 def device_id @device_id end |
#global_network_id ⇒ String (readonly)
The GlobalNetworkId of the LinkAssociation resource.
26 27 28 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 26 def global_network_id @global_network_id end |
#link_id ⇒ String (readonly)
The LinkId of the LinkAssociation resource.
30 31 32 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 30 def link_id @link_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 32 def self.jsii_properties { :device_id => "deviceId", :global_network_id => "globalNetworkId", :link_id => "linkId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_networkmanager/link_association_reference.rb', line 40 def to_jsii result = {} result.merge!({ "deviceId" => @device_id, "globalNetworkId" => @global_network_id, "linkId" => @link_id, }) result.compact end |