@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParametricCloudWatchMonitoringConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs. This data type allows job template parameters to be specified within.
Constructor and Description |
---|
ParametricCloudWatchMonitoringConfiguration() |
Modifier and Type | Method and Description |
---|---|
ParametricCloudWatchMonitoringConfiguration |
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.
|
ParametricCloudWatchMonitoringConfiguration |
withLogGroupName(String logGroupName)
The name of the log group for log publishing.
|
ParametricCloudWatchMonitoringConfiguration |
withLogStreamNamePrefix(String logStreamNamePrefix)
The specified name prefix for log streams.
|
public ParametricCloudWatchMonitoringConfiguration()
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 ParametricCloudWatchMonitoringConfiguration 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 ParametricCloudWatchMonitoringConfiguration 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 ParametricCloudWatchMonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.