@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Pattern extends Object implements Serializable, Cloneable, StructuredPojo
A set of rules used to make a recommendation during an analysis.
Constructor and Description |
---|
Pattern() |
Modifier and Type | Method and Description |
---|---|
Pattern |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCountersToAggregate()
A list of the different counters used to determine if there is a match.
|
String |
getDescription()
The description of the recommendation.
|
String |
getId()
The universally unique identifier (UUID) of this pattern.
|
String |
getName()
The name for this pattern.
|
String |
getResolutionSteps()
A string that contains the steps recommended to address the potential inefficiency.
|
List<List<String>> |
getTargetFrames()
A list of frame names that were searched during the analysis that generated a recommendation.
|
Double |
getThresholdPercent()
The percentage of time an application spends in one method that triggers a recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCountersToAggregate(Collection<String> countersToAggregate)
A list of the different counters used to determine if there is a match.
|
void |
setDescription(String description)
The description of the recommendation.
|
void |
setId(String id)
The universally unique identifier (UUID) of this pattern.
|
void |
setName(String name)
The name for this pattern.
|
void |
setResolutionSteps(String resolutionSteps)
A string that contains the steps recommended to address the potential inefficiency.
|
void |
setTargetFrames(Collection<List<String>> targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
|
void |
setThresholdPercent(Double thresholdPercent)
The percentage of time an application spends in one method that triggers a recommendation.
|
String |
toString()
Returns a string representation of this object.
|
Pattern |
withCountersToAggregate(Collection<String> countersToAggregate)
A list of the different counters used to determine if there is a match.
|
Pattern |
withCountersToAggregate(String... countersToAggregate)
A list of the different counters used to determine if there is a match.
|
Pattern |
withDescription(String description)
The description of the recommendation.
|
Pattern |
withId(String id)
The universally unique identifier (UUID) of this pattern.
|
Pattern |
withName(String name)
The name for this pattern.
|
Pattern |
withResolutionSteps(String resolutionSteps)
A string that contains the steps recommended to address the potential inefficiency.
|
Pattern |
withTargetFrames(Collection<List<String>> targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
|
Pattern |
withTargetFrames(List<String>... targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
|
Pattern |
withThresholdPercent(Double thresholdPercent)
The percentage of time an application spends in one method that triggers a recommendation.
|
public List<String> getCountersToAggregate()
A list of the different counters used to determine if there is a match.
public void setCountersToAggregate(Collection<String> countersToAggregate)
A list of the different counters used to determine if there is a match.
countersToAggregate
- A list of the different counters used to determine if there is a match.public Pattern withCountersToAggregate(String... countersToAggregate)
A list of the different counters used to determine if there is a match.
NOTE: This method appends the values to the existing list (if any). Use
setCountersToAggregate(java.util.Collection)
or withCountersToAggregate(java.util.Collection)
if you want to override the existing values.
countersToAggregate
- A list of the different counters used to determine if there is a match.public Pattern withCountersToAggregate(Collection<String> countersToAggregate)
A list of the different counters used to determine if there is a match.
countersToAggregate
- A list of the different counters used to determine if there is a match.public void setDescription(String description)
The description of the recommendation. This explains a potential inefficiency in a profiled application.
description
- The description of the recommendation. This explains a potential inefficiency in a profiled application.public String getDescription()
The description of the recommendation. This explains a potential inefficiency in a profiled application.
public Pattern withDescription(String description)
The description of the recommendation. This explains a potential inefficiency in a profiled application.
description
- The description of the recommendation. This explains a potential inefficiency in a profiled application.public void setId(String id)
The universally unique identifier (UUID) of this pattern.
id
- The universally unique identifier (UUID) of this pattern.public String getId()
The universally unique identifier (UUID) of this pattern.
public Pattern withId(String id)
The universally unique identifier (UUID) of this pattern.
id
- The universally unique identifier (UUID) of this pattern.public void setName(String name)
The name for this pattern.
name
- The name for this pattern.public String getName()
The name for this pattern.
public Pattern withName(String name)
The name for this pattern.
name
- The name for this pattern.public void setResolutionSteps(String resolutionSteps)
A string that contains the steps recommended to address the potential inefficiency.
resolutionSteps
- A string that contains the steps recommended to address the potential inefficiency.public String getResolutionSteps()
A string that contains the steps recommended to address the potential inefficiency.
public Pattern withResolutionSteps(String resolutionSteps)
A string that contains the steps recommended to address the potential inefficiency.
resolutionSteps
- A string that contains the steps recommended to address the potential inefficiency.public List<List<String>> getTargetFrames()
A list of frame names that were searched during the analysis that generated a recommendation.
public void setTargetFrames(Collection<List<String>> targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
targetFrames
- A list of frame names that were searched during the analysis that generated a recommendation.public Pattern withTargetFrames(List<String>... targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setTargetFrames(java.util.Collection)
or withTargetFrames(java.util.Collection)
if you want to
override the existing values.
targetFrames
- A list of frame names that were searched during the analysis that generated a recommendation.public Pattern withTargetFrames(Collection<List<String>> targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
targetFrames
- A list of frame names that were searched during the analysis that generated a recommendation.public void setThresholdPercent(Double thresholdPercent)
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.
thresholdPercent
- 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.public Double getThresholdPercent()
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.
public Pattern withThresholdPercent(Double thresholdPercent)
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.
thresholdPercent
- 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.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.