@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultField extends Object implements Serializable, Cloneable, StructuredPojo
Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.
Constructor and Description |
---|
ResultField() |
Modifier and Type | Method and Description |
---|---|
ResultField |
clone() |
boolean |
equals(Object obj) |
String |
getField()
The log event field.
|
String |
getValue()
The value of this field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setField(String field)
The log event field.
|
void |
setValue(String value)
The value of this field.
|
String |
toString()
Returns a string representation of this object.
|
ResultField |
withField(String field)
The log event field.
|
ResultField |
withValue(String value)
The value of this field.
|
public void setField(String field)
The log event field.
field
- The log event field.public String getField()
The log event field.
public ResultField withField(String field)
The log event field.
field
- The log event field.public void setValue(String value)
The value of this field.
value
- The value of this field.public String getValue()
The value of this field.
public ResultField withValue(String value)
The value of this field.
value
- The value of this field.public String toString()
toString
in class Object
Object.toString()
public ResultField 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.