@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionContribution extends Object implements Serializable, Cloneable, StructuredPojo
Details about a dimension that contributed to an anomaly.
Constructor and Description |
---|
DimensionContribution() |
Modifier and Type | Method and Description |
---|---|
DimensionContribution |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionName()
The name of the dimension.
|
List<DimensionValueContribution> |
getDimensionValueContributionList()
A list of dimension values that contributed to the anomaly.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionName(String dimensionName)
The name of the dimension.
|
void |
setDimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
|
String |
toString()
Returns a string representation of this object.
|
DimensionContribution |
withDimensionName(String dimensionName)
The name of the dimension.
|
DimensionContribution |
withDimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
|
DimensionContribution |
withDimensionValueContributionList(DimensionValueContribution... dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
|
public void setDimensionName(String dimensionName)
The name of the dimension.
dimensionName
- The name of the dimension.public String getDimensionName()
The name of the dimension.
public DimensionContribution withDimensionName(String dimensionName)
The name of the dimension.
dimensionName
- The name of the dimension.public List<DimensionValueContribution> getDimensionValueContributionList()
A list of dimension values that contributed to the anomaly.
public void setDimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
dimensionValueContributionList
- A list of dimension values that contributed to the anomaly.public DimensionContribution withDimensionValueContributionList(DimensionValueContribution... dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionValueContributionList(java.util.Collection)
or
withDimensionValueContributionList(java.util.Collection)
if you want to override the existing values.
dimensionValueContributionList
- A list of dimension values that contributed to the anomaly.public DimensionContribution withDimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
dimensionValueContributionList
- A list of dimension values that contributed to the anomaly.public String toString()
toString
in class Object
Object.toString()
public DimensionContribution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.