public class DescribeDBLogFilesDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a response element to DescribeDBLogFiles.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
lastWritten
A POSIX timestamp when the last log entry was written.
|
private java.lang.String |
logFileName
The name of the log file for the specified DB instance.
|
private java.lang.Long |
size
The size, in bytes, of the log file for the specified DB instance.
|
Constructor and Description |
---|
DescribeDBLogFilesDetails() |
Modifier and Type | Method and Description |
---|---|
DescribeDBLogFilesDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getLastWritten()
A POSIX timestamp when the last log entry was written.
|
java.lang.String |
getLogFileName()
The name of the log file for the specified DB instance.
|
java.lang.Long |
getSize()
The size, in bytes, of the log file for the specified DB instance.
|
int |
hashCode() |
void |
setLastWritten(java.lang.Long lastWritten)
A POSIX timestamp when the last log entry was written.
|
void |
setLogFileName(java.lang.String logFileName)
The name of the log file for the specified DB instance.
|
void |
setSize(java.lang.Long size)
The size, in bytes, of the log file for the specified DB instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBLogFilesDetails |
withLastWritten(java.lang.Long lastWritten)
A POSIX timestamp when the last log entry was written.
|
DescribeDBLogFilesDetails |
withLogFileName(java.lang.String logFileName)
The name of the log file for the specified DB instance.
|
DescribeDBLogFilesDetails |
withSize(java.lang.Long size)
The size, in bytes, of the log file for the specified DB instance.
|
private java.lang.String logFileName
The name of the log file for the specified DB instance.
private java.lang.Long lastWritten
A POSIX timestamp when the last log entry was written.
private java.lang.Long size
The size, in bytes, of the log file for the specified DB instance.
public void setLogFileName(java.lang.String logFileName)
The name of the log file for the specified DB instance.
logFileName
- The name of the log file for the specified DB instance.public java.lang.String getLogFileName()
The name of the log file for the specified DB instance.
public DescribeDBLogFilesDetails withLogFileName(java.lang.String logFileName)
The name of the log file for the specified DB instance.
logFileName
- The name of the log file for the specified DB instance.public void setLastWritten(java.lang.Long lastWritten)
A POSIX timestamp when the last log entry was written.
lastWritten
- A POSIX timestamp when the last log entry was written.public java.lang.Long getLastWritten()
A POSIX timestamp when the last log entry was written.
public DescribeDBLogFilesDetails withLastWritten(java.lang.Long lastWritten)
A POSIX timestamp when the last log entry was written.
lastWritten
- A POSIX timestamp when the last log entry was written.public void setSize(java.lang.Long size)
The size, in bytes, of the log file for the specified DB instance.
size
- The size, in bytes, of the log file for the specified DB instance.public java.lang.Long getSize()
The size, in bytes, of the log file for the specified DB instance.
public DescribeDBLogFilesDetails withSize(java.lang.Long size)
The size, in bytes, of the log file for the specified DB instance.
size
- The size, in bytes, of the log file for the specified DB instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDBLogFilesDetails clone()
clone
in class java.lang.Object