@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
A subset of the attributes that describe a log group. In CloudWatch a log group is a group of log streams that share the same retention, monitoring, and access control settings.
| Constructor and Description |
|---|
LogGroupSummary() |
| Modifier and Type | Method and Description |
|---|---|
LogGroupSummary |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupName()
The name of the log group.
|
String |
getLogType()
The type of log.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setLogType(String logType)
The type of log.
|
String |
toString()
Returns a string representation of this object.
|
LogGroupSummary |
withLogGroupName(String logGroupName)
The name of the log group.
|
LogGroupSummary |
withLogType(String logType)
The type of log.
|
public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public String getLogGroupName()
The name of the log group.
public LogGroupSummary withLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public void setLogType(String logType)
The type of log.
logType - The type of log.public String getLogType()
The type of log.
public LogGroupSummary withLogType(String logType)
The type of log.
logType - The type of log.public String toString()
toString in class ObjectObject.toString()public LogGroupSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.