Class: Aws::CodeGuruProfiler::Types::Pattern

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

Overview

A set of rules used to make a recommendation during an analysis.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#counters_to_aggregateArray<String>

A list of the different counters used to determine if there is a match.

Returns:

  • (Array<String>)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the recommendation. This explains a potential inefficiency in a profiled application.

Returns:

  • (String)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The universally unique identifier (UUID) of this pattern.

Returns:

  • (String)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name for this pattern.

Returns:

  • (String)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#resolution_stepsString

A string that contains the steps recommended to address the potential inefficiency.

Returns:

  • (String)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#target_framesArray<Array<String>>

A list of frame names that were searched during the analysis that generated a recommendation.

Returns:

  • (Array<Array<String>>)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end

#threshold_percentFloat

The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.

Returns:

  • (Float)


1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
# File 'lib/aws-sdk-codeguruprofiler/types.rb', line 1421

class Pattern < Struct.new(
  :counters_to_aggregate,
  :description,
  :id,
  :name,
  :resolution_steps,
  :target_frames,
  :threshold_percent)
  SENSITIVE = []
  include Aws::Structure
end