@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricFilterMatchRecord extends Object implements Serializable, Cloneable, StructuredPojo
Represents a matched event.
Constructor and Description |
---|
MetricFilterMatchRecord() |
Modifier and Type | Method and Description |
---|---|
MetricFilterMatchRecord |
addExtractedValuesEntry(String key,
String value)
Add a single ExtractedValues entry
|
MetricFilterMatchRecord |
clearExtractedValuesEntries()
Removes all the entries added into ExtractedValues.
|
MetricFilterMatchRecord |
clone() |
boolean |
equals(Object obj) |
String |
getEventMessage()
The raw event data.
|
Long |
getEventNumber()
The event number.
|
Map<String,String> |
getExtractedValues()
The values extracted from the event data by the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventMessage(String eventMessage)
The raw event data.
|
void |
setEventNumber(Long eventNumber)
The event number.
|
void |
setExtractedValues(Map<String,String> extractedValues)
The values extracted from the event data by the filter.
|
String |
toString()
Returns a string representation of this object.
|
MetricFilterMatchRecord |
withEventMessage(String eventMessage)
The raw event data.
|
MetricFilterMatchRecord |
withEventNumber(Long eventNumber)
The event number.
|
MetricFilterMatchRecord |
withExtractedValues(Map<String,String> extractedValues)
The values extracted from the event data by the filter.
|
public void setEventNumber(Long eventNumber)
The event number.
eventNumber
- The event number.public Long getEventNumber()
The event number.
public MetricFilterMatchRecord withEventNumber(Long eventNumber)
The event number.
eventNumber
- The event number.public void setEventMessage(String eventMessage)
The raw event data.
eventMessage
- The raw event data.public String getEventMessage()
The raw event data.
public MetricFilterMatchRecord withEventMessage(String eventMessage)
The raw event data.
eventMessage
- The raw event data.public Map<String,String> getExtractedValues()
The values extracted from the event data by the filter.
public void setExtractedValues(Map<String,String> extractedValues)
The values extracted from the event data by the filter.
extractedValues
- The values extracted from the event data by the filter.public MetricFilterMatchRecord withExtractedValues(Map<String,String> extractedValues)
The values extracted from the event data by the filter.
extractedValues
- The values extracted from the event data by the filter.public MetricFilterMatchRecord addExtractedValuesEntry(String key, String value)
public MetricFilterMatchRecord clearExtractedValuesEntries()
public String toString()
toString
in class Object
Object.toString()
public MetricFilterMatchRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.