@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDimension extends Object implements Serializable, Cloneable, StructuredPojo
The dimension of a metric.
Constructor and Description |
---|
MetricDimension() |
Modifier and Type | Method and Description |
---|---|
MetricDimension |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionName()
A unique identifier for the dimension.
|
String |
getOperator()
Defines how the
dimensionValues of a dimension are interpreted. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionName(String dimensionName)
A unique identifier for the dimension.
|
void |
setOperator(String operator)
Defines how the
dimensionValues of a dimension are interpreted. |
String |
toString()
Returns a string representation of this object.
|
MetricDimension |
withDimensionName(String dimensionName)
A unique identifier for the dimension.
|
MetricDimension |
withOperator(DimensionValueOperator operator)
Defines how the
dimensionValues of a dimension are interpreted. |
MetricDimension |
withOperator(String operator)
Defines how the
dimensionValues of a dimension are interpreted. |
public void setDimensionName(String dimensionName)
A unique identifier for the dimension.
dimensionName
- A unique identifier for the dimension.public String getDimensionName()
A unique identifier for the dimension.
public MetricDimension withDimensionName(String dimensionName)
A unique identifier for the dimension.
dimensionName
- A unique identifier for the dimension.public void setOperator(String operator)
Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN
operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null
), it will be interpreted as
IN
.
operator
- Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN
operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null
), it
will be interpreted as IN
.DimensionValueOperator
public String getOperator()
Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN
operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null
), it will be interpreted as
IN
.
dimensionValues
of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN
operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null
), it
will be interpreted as IN
.DimensionValueOperator
public MetricDimension withOperator(String operator)
Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN
operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null
), it will be interpreted as
IN
.
operator
- Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN
operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null
), it
will be interpreted as IN
.DimensionValueOperator
public MetricDimension withOperator(DimensionValueOperator operator)
Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension type
TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one of the topic
filters. With NOT_IN
operator, a message will be counted only if it doesn't match any of the topic
filters. The operator is optional: if it's not provided (is null
), it will be interpreted as
IN
.
operator
- Defines how the dimensionValues
of a dimension are interpreted. For example, for dimension
type TOPIC_FILTER, the IN
operator, a message will be counted only if its topic matches one
of the topic filters. With NOT_IN
operator, a message will be counted only if it doesn't
match any of the topic filters. The operator is optional: if it's not provided (is null
), it
will be interpreted as IN
.DimensionValueOperator
public String toString()
toString
in class Object
Object.toString()
public MetricDimension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.