Class OutputLogEvent
- java.lang.Object
-
- com.amazonaws.services.logs.model.OutputLogEvent
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class OutputLogEvent extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OutputLogEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputLogEvent
clone()
boolean
equals(Object obj)
Long
getIngestionTime()
String
getMessage()
Long
getTimestamp()
int
hashCode()
void
setIngestionTime(Long ingestionTime)
void
setMessage(String message)
void
setTimestamp(Long timestamp)
String
toString()
Returns a string representation of this object; useful for testing and debugging.OutputLogEvent
withIngestionTime(Long ingestionTime)
OutputLogEvent
withMessage(String message)
OutputLogEvent
withTimestamp(Long timestamp)
-
-
-
Method Detail
-
setTimestamp
public void setTimestamp(Long timestamp)
- Parameters:
timestamp
-
-
getTimestamp
public Long getTimestamp()
- Returns:
-
withTimestamp
public OutputLogEvent withTimestamp(Long timestamp)
- Parameters:
timestamp
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
- Parameters:
message
-
-
getMessage
public String getMessage()
- Returns:
-
withMessage
public OutputLogEvent withMessage(String message)
- Parameters:
message
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIngestionTime
public void setIngestionTime(Long ingestionTime)
- Parameters:
ingestionTime
-
-
getIngestionTime
public Long getIngestionTime()
- Returns:
-
withIngestionTime
public OutputLogEvent withIngestionTime(Long ingestionTime)
- Parameters:
ingestionTime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OutputLogEvent clone()
-
-