Class: AWSCDK::IoTFleetWise::CfnSignalCatalog::NodeCountsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • total_actuators (Numeric, nil) (defaults to: nil)

    The total number of nodes in a vehicle network that represent actuators.

  • total_attributes (Numeric, nil) (defaults to: nil)

    The total number of nodes in a vehicle network that represent attributes.

  • total_branches (Numeric, nil) (defaults to: nil)

    The total number of nodes in a vehicle network that represent branches.

  • total_nodes (Numeric, nil) (defaults to: nil)

    The total number of nodes in a vehicle network.

  • total_sensors (Numeric, nil) (defaults to: nil)

    The total number of nodes in a vehicle network that represent sensors.



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_actuatorsNumeric? (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_attributesNumeric? (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_branchesNumeric? (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_nodesNumeric? (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_sensorsNumeric? (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_propertiesObject



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_jsiiObject



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