@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PillarMetric extends Object implements Serializable, Cloneable, StructuredPojo
A metric for a particular pillar in a lens.
| Constructor and Description |
|---|
PillarMetric() |
| Modifier and Type | Method and Description |
|---|---|
PillarMetric |
addRiskCountsEntry(String key,
Integer value)
Add a single RiskCounts entry
|
PillarMetric |
clearRiskCountsEntries()
Removes all the entries added into RiskCounts.
|
PillarMetric |
clone() |
boolean |
equals(Object obj) |
String |
getPillarId() |
List<QuestionMetric> |
getQuestions()
The questions that have been identified as risks in the pillar.
|
Map<String,Integer> |
getRiskCounts() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPillarId(String pillarId) |
void |
setQuestions(Collection<QuestionMetric> questions)
The questions that have been identified as risks in the pillar.
|
void |
setRiskCounts(Map<String,Integer> riskCounts) |
String |
toString()
Returns a string representation of this object.
|
PillarMetric |
withPillarId(String pillarId) |
PillarMetric |
withQuestions(Collection<QuestionMetric> questions)
The questions that have been identified as risks in the pillar.
|
PillarMetric |
withQuestions(QuestionMetric... questions)
The questions that have been identified as risks in the pillar.
|
PillarMetric |
withRiskCounts(Map<String,Integer> riskCounts) |
public void setPillarId(String pillarId)
pillarId - public String getPillarId()
public PillarMetric withPillarId(String pillarId)
pillarId - public PillarMetric withRiskCounts(Map<String,Integer> riskCounts)
riskCounts - public PillarMetric addRiskCountsEntry(String key, Integer value)
public PillarMetric clearRiskCountsEntries()
public List<QuestionMetric> getQuestions()
The questions that have been identified as risks in the pillar.
public void setQuestions(Collection<QuestionMetric> questions)
The questions that have been identified as risks in the pillar.
questions - The questions that have been identified as risks in the pillar.public PillarMetric withQuestions(QuestionMetric... questions)
The questions that have been identified as risks in the pillar.
NOTE: This method appends the values to the existing list (if any). Use
setQuestions(java.util.Collection) or withQuestions(java.util.Collection) if you want to
override the existing values.
questions - The questions that have been identified as risks in the pillar.public PillarMetric withQuestions(Collection<QuestionMetric> questions)
The questions that have been identified as risks in the pillar.
questions - The questions that have been identified as risks in the pillar.public String toString()
toString in class ObjectObject.toString()public PillarMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.