@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogDeliveryOptions extends Object implements Serializable, Cloneable, StructuredPojo
The log delivery option to send data to Amazon CloudWatch Logs.
| Constructor and Description |
|---|
CloudWatchLogDeliveryOptions() |
| Modifier and Type | Method and Description |
|---|---|
CloudWatchLogDeliveryOptions |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupName()
The Amazon CloudWatch Logs group the operation sends data to.
|
String |
getLogType()
The type of log to send data to Amazon CloudWatch Logs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group the operation sends data to.
|
void |
setLogType(String logType)
The type of log to send data to Amazon CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLogDeliveryOptions |
withLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group the operation sends data to.
|
CloudWatchLogDeliveryOptions |
withLogType(LogType logType)
The type of log to send data to Amazon CloudWatch Logs.
|
CloudWatchLogDeliveryOptions |
withLogType(String logType)
The type of log to send data to Amazon CloudWatch Logs.
|
public void setLogType(String logType)
The type of log to send data to Amazon CloudWatch Logs.
logType - The type of log to send data to Amazon CloudWatch Logs.LogTypepublic String getLogType()
The type of log to send data to Amazon CloudWatch Logs.
LogTypepublic CloudWatchLogDeliveryOptions withLogType(String logType)
The type of log to send data to Amazon CloudWatch Logs.
logType - The type of log to send data to Amazon CloudWatch Logs.LogTypepublic CloudWatchLogDeliveryOptions withLogType(LogType logType)
The type of log to send data to Amazon CloudWatch Logs.
logType - The type of log to send data to Amazon CloudWatch Logs.LogTypepublic void setLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group the operation sends data to.
logGroupName - The Amazon CloudWatch Logs group the operation sends data to.public String getLogGroupName()
The Amazon CloudWatch Logs group the operation sends data to.
public CloudWatchLogDeliveryOptions withLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group the operation sends data to.
logGroupName - The Amazon CloudWatch Logs group the operation sends data to.public String toString()
toString in class ObjectObject.toString()public CloudWatchLogDeliveryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.