@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetCloudWatchLogsParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using an CloudWatch Logs log stream as a target.
Constructor and Description |
---|
PipeTargetCloudWatchLogsParameters() |
Modifier and Type | Method and Description |
---|---|
PipeTargetCloudWatchLogsParameters |
clone() |
boolean |
equals(Object obj) |
String |
getLogStreamName()
The name of the log stream.
|
String |
getTimestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogStreamName(String logStreamName)
The name of the log stream.
|
void |
setTimestamp(String timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
String |
toString()
Returns a string representation of this object.
|
PipeTargetCloudWatchLogsParameters |
withLogStreamName(String logStreamName)
The name of the log stream.
|
PipeTargetCloudWatchLogsParameters |
withTimestamp(String timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
public void setLogStreamName(String logStreamName)
The name of the log stream.
logStreamName
- The name of the log stream.public String getLogStreamName()
The name of the log stream.
public PipeTargetCloudWatchLogsParameters withLogStreamName(String logStreamName)
The name of the log stream.
logStreamName
- The name of the log stream.public void setTimestamp(String timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public String getTimestamp()
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
public PipeTargetCloudWatchLogsParameters withTimestamp(String timestamp)
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
timestamp
- The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.public String toString()
toString
in class Object
Object.toString()
public PipeTargetCloudWatchLogsParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.