@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogGroupField extends Object implements Serializable, Cloneable, StructuredPojo
The fields contained in log events found by a GetLogGroupFields operation, along with the percentage of
queried log events in which each field appears.
| Constructor and Description |
|---|
LogGroupField() |
| Modifier and Type | Method and Description |
|---|---|
LogGroupField |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of a log field.
|
Integer |
getPercent()
The percentage of log events queried that contained the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of a log field.
|
void |
setPercent(Integer percent)
The percentage of log events queried that contained the field.
|
String |
toString()
Returns a string representation of this object.
|
LogGroupField |
withName(String name)
The name of a log field.
|
LogGroupField |
withPercent(Integer percent)
The percentage of log events queried that contained the field.
|
public void setName(String name)
The name of a log field.
name - The name of a log field.public String getName()
The name of a log field.
public LogGroupField withName(String name)
The name of a log field.
name - The name of a log field.public void setPercent(Integer percent)
The percentage of log events queried that contained the field.
percent - The percentage of log events queried that contained the field.public Integer getPercent()
The percentage of log events queried that contained the field.
public LogGroupField withPercent(Integer percent)
The percentage of log events queried that contained the field.
percent - The percentage of log events queried that contained the field.public String toString()
toString in class ObjectObject.toString()public LogGroupField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.