Class: Aws::CodeGuruReviewer::Types::RuleMetadata

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurureviewer/types.rb

Overview

Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule’s recommendation is included in analysis results if code is detected that violates the rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#long_descriptionString

A long description of the rule.

Returns:

  • (String)


1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1814

class RuleMetadata < Struct.new(
  :rule_id,
  :rule_name,
  :short_description,
  :long_description,
  :rule_tags)
  SENSITIVE = []
  include Aws::Structure
end

#rule_idString

The ID of the rule.

Returns:

  • (String)


1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1814

class RuleMetadata < Struct.new(
  :rule_id,
  :rule_name,
  :short_description,
  :long_description,
  :rule_tags)
  SENSITIVE = []
  include Aws::Structure
end

#rule_nameString

The name of the rule.

Returns:

  • (String)


1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1814

class RuleMetadata < Struct.new(
  :rule_id,
  :rule_name,
  :short_description,
  :long_description,
  :rule_tags)
  SENSITIVE = []
  include Aws::Structure
end

#rule_tagsArray<String>

Tags that are associated with the rule.

Returns:

  • (Array<String>)


1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1814

class RuleMetadata < Struct.new(
  :rule_id,
  :rule_name,
  :short_description,
  :long_description,
  :rule_tags)
  SENSITIVE = []
  include Aws::Structure
end

#short_descriptionString

A short description of the rule.

Returns:

  • (String)


1814
1815
1816
1817
1818
1819
1820
1821
1822
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1814

class RuleMetadata < Struct.new(
  :rule_id,
  :rule_name,
  :short_description,
  :long_description,
  :rule_tags)
  SENSITIVE = []
  include Aws::Structure
end