public class ContainerLogsOpts extends BasePOJO
Constructor and Description |
---|
ContainerLogsOpts() |
ContainerLogsOpts(java.lang.Boolean pFollow,
java.lang.Boolean pStdOut,
java.lang.Boolean pStdErr,
java.lang.Long pSince,
java.lang.Long pUntil,
java.lang.Boolean pTimestamps,
java.lang.Integer pTail) |
Modifier and Type | Method and Description |
---|---|
static ContainerLogsOpts |
fromTo(java.util.Date pFrom,
java.util.Date pTo) |
java.lang.Boolean |
getFollow() |
java.lang.Long |
getSince() |
java.lang.Boolean |
getStdErr() |
java.lang.Boolean |
getStdOut() |
java.lang.Integer |
getTail() |
java.lang.Boolean |
getTimestamps() |
java.lang.Long |
getUntil() |
ContainerLogsOpts |
setFollow(java.lang.Boolean pFollow) |
ContainerLogsOpts |
setSince(java.util.Date pSince) |
ContainerLogsOpts |
setSince(java.lang.Long pSince) |
ContainerLogsOpts |
setStdErr(java.lang.Boolean pStdErr) |
ContainerLogsOpts |
setStdOut(java.lang.Boolean pStdOut) |
ContainerLogsOpts |
setTail(java.lang.Integer pTail) |
ContainerLogsOpts |
setTimestamps(java.lang.Boolean pTimestamps) |
ContainerLogsOpts |
setUntil(java.util.Date pUntil) |
ContainerLogsOpts |
setUntil(java.lang.Long pUntil) |
java.lang.String |
toString()
Returns custom String representation implemented by walking complete object structure.
|
public ContainerLogsOpts()
public ContainerLogsOpts(java.lang.Boolean pFollow, java.lang.Boolean pStdOut, java.lang.Boolean pStdErr, java.lang.Long pSince, java.lang.Long pUntil, java.lang.Boolean pTimestamps, java.lang.Integer pTail)
pFollow
- - Keep connection after returning logspStdOut
- - Return logs from stdout. Either stdOut or stdErr is required.pStdErr
- - Return logs from stderr. Either stdOut or stdErr is required.pSince
- - Only return logs since this time, as a UNIX timestamppUntil
- - Only return logs before this time, as a UNIX timestamppTimestamps
- - Add timestamps to every log linepTail
- - Only return this number of log lines from the end of the logs. Specify as an integer or all to output all log lines.public ContainerLogsOpts setFollow(java.lang.Boolean pFollow)
public java.lang.Boolean getFollow()
public ContainerLogsOpts setStdOut(java.lang.Boolean pStdOut)
public java.lang.Boolean getStdOut()
public ContainerLogsOpts setStdErr(java.lang.Boolean pStdErr)
public java.lang.Boolean getStdErr()
public ContainerLogsOpts setSince(java.lang.Long pSince)
public ContainerLogsOpts setSince(java.util.Date pSince)
public java.lang.Long getSince()
public ContainerLogsOpts setUntil(java.lang.Long pUntil)
public ContainerLogsOpts setUntil(java.util.Date pUntil)
public java.lang.Long getUntil()
public ContainerLogsOpts setTimestamps(java.lang.Boolean pTimestamps)
public java.lang.Boolean getTimestamps()
public ContainerLogsOpts setTail(java.lang.Integer pTail)
public java.lang.Integer getTail()
public static ContainerLogsOpts fromTo(java.util.Date pFrom, java.util.Date pTo)