@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchMonitoringConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.
Constructor and Description |
---|
CloudWatchMonitoringConfiguration() |
Modifier and Type | Method and Description |
---|---|
CloudWatchMonitoringConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupName()
The name of the log group for log publishing.
|
String |
getLogStreamNamePrefix()
The specified name prefix for log streams.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogGroupName(String logGroupName)
The name of the log group for log publishing.
|
void |
setLogStreamNamePrefix(String logStreamNamePrefix)
The specified name prefix for log streams.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchMonitoringConfiguration |
withLogGroupName(String logGroupName)
The name of the log group for log publishing.
|
CloudWatchMonitoringConfiguration |
withLogStreamNamePrefix(String logStreamNamePrefix)
The specified name prefix for log streams.
|
public void setLogGroupName(String logGroupName)
The name of the log group for log publishing.
logGroupName
- The name of the log group for log publishing.public String getLogGroupName()
The name of the log group for log publishing.
public CloudWatchMonitoringConfiguration withLogGroupName(String logGroupName)
The name of the log group for log publishing.
logGroupName
- The name of the log group for log publishing.public void setLogStreamNamePrefix(String logStreamNamePrefix)
The specified name prefix for log streams.
logStreamNamePrefix
- The specified name prefix for log streams.public String getLogStreamNamePrefix()
The specified name prefix for log streams.
public CloudWatchMonitoringConfiguration withLogStreamNamePrefix(String logStreamNamePrefix)
The specified name prefix for log streams.
logStreamNamePrefix
- The specified name prefix for log streams.public String toString()
toString
in class Object
Object.toString()
public CloudWatchMonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.