@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.
For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.
| 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 ObjectObject.toString()public ResultField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.