Class: AWSCDK::IoTFleetWise::CfnSignalCatalog::NodeCountsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTFleetWise::CfnSignalCatalog::NodeCountsProperty
- Defined in:
- io_t_fleet_wise/cfn_signal_catalog.rb
Overview
Information about the number of nodes and node types in a vehicle network.
Instance Attribute Summary collapse
-
#total_actuators ⇒ Numeric?
readonly
The total number of nodes in a vehicle network that represent actuators.
-
#total_attributes ⇒ Numeric?
readonly
The total number of nodes in a vehicle network that represent attributes.
-
#total_branches ⇒ Numeric?
readonly
The total number of nodes in a vehicle network that represent branches.
-
#total_nodes ⇒ Numeric?
readonly
The total number of nodes in a vehicle network.
-
#total_sensors ⇒ Numeric?
readonly
The total number of nodes in a vehicle network that represent sensors.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(total_actuators: nil, total_attributes: nil, total_branches: nil, total_nodes: nil, total_sensors: nil) ⇒ NodeCountsProperty
constructor
A new instance of NodeCountsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(total_actuators: nil, total_attributes: nil, total_branches: nil, total_nodes: nil, total_sensors: nil) ⇒ NodeCountsProperty
Returns a new instance of NodeCountsProperty.
901 902 903 904 905 906 907 908 909 910 911 912 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 901 def initialize(total_actuators: nil, total_attributes: nil, total_branches: nil, total_nodes: nil, total_sensors: nil) @total_actuators = total_actuators Jsii::Type.check_type(@total_actuators, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalActuators") unless @total_actuators.nil? @total_attributes = total_attributes Jsii::Type.check_type(@total_attributes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalAttributes") unless @total_attributes.nil? @total_branches = total_branches Jsii::Type.check_type(@total_branches, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalBranches") unless @total_branches.nil? @total_nodes = total_nodes Jsii::Type.check_type(@total_nodes, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalNodes") unless @total_nodes.nil? @total_sensors = total_sensors Jsii::Type.check_type(@total_sensors, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "totalSensors") unless @total_sensors.nil? end |
Instance Attribute Details
#total_actuators ⇒ Numeric? (readonly)
The total number of nodes in a vehicle network that represent actuators.
918 919 920 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 918 def total_actuators @total_actuators end |
#total_attributes ⇒ Numeric? (readonly)
The total number of nodes in a vehicle network that represent attributes.
923 924 925 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 923 def total_attributes @total_attributes end |
#total_branches ⇒ Numeric? (readonly)
The total number of nodes in a vehicle network that represent branches.
928 929 930 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 928 def total_branches @total_branches end |
#total_nodes ⇒ Numeric? (readonly)
The total number of nodes in a vehicle network.
933 934 935 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 933 def total_nodes @total_nodes end |
#total_sensors ⇒ Numeric? (readonly)
The total number of nodes in a vehicle network that represent sensors.
938 939 940 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 938 def total_sensors @total_sensors end |
Class Method Details
.jsii_properties ⇒ Object
940 941 942 943 944 945 946 947 948 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 940 def self.jsii_properties { :total_actuators => "totalActuators", :total_attributes => "totalAttributes", :total_branches => "totalBranches", :total_nodes => "totalNodes", :total_sensors => "totalSensors", } end |
Instance Method Details
#to_jsii ⇒ Object
950 951 952 953 954 955 956 957 958 959 960 |
# File 'io_t_fleet_wise/cfn_signal_catalog.rb', line 950 def to_jsii result = {} result.merge!({ "totalActuators" => @total_actuators, "totalAttributes" => @total_attributes, "totalBranches" => @total_branches, "totalNodes" => @total_nodes, "totalSensors" => @total_sensors, }) result.compact end |