public class DownloadDBLogFilePortionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DownloadDBLogFilePortion operation
.
Downloads all or a portion of the specified log file.
NOOP
Constructor and Description |
---|
DownloadDBLogFilePortionRequest() |
Modifier and Type | Method and Description |
---|---|
DownloadDBLogFilePortionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
The customer-assigned name of the DB instance that contains the log
files you want to list.
|
String |
getLogFileName()
The name of the log file to be downloaded.
|
String |
getMarker()
The pagination token provided in the previous request or "0".
|
Integer |
getNumberOfLines()
The number of lines to download.
|
int |
hashCode() |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The customer-assigned name of the DB instance that contains the log
files you want to list.
|
void |
setLogFileName(String logFileName)
The name of the log file to be downloaded.
|
void |
setMarker(String marker)
The pagination token provided in the previous request or "0".
|
void |
setNumberOfLines(Integer numberOfLines)
The number of lines to download.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DownloadDBLogFilePortionRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The customer-assigned name of the DB instance that contains the log
files you want to list.
|
DownloadDBLogFilePortionRequest |
withLogFileName(String logFileName)
The name of the log file to be downloaded.
|
DownloadDBLogFilePortionRequest |
withMarker(String marker)
The pagination token provided in the previous request or "0".
|
DownloadDBLogFilePortionRequest |
withNumberOfLines(Integer numberOfLines)
The number of lines to download.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier
- The customer-assigned name of the DB instance that contains the log
files you want to list. Constraints:
public DownloadDBLogFilePortionRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The customer-assigned name of the DB instance that contains the log
files you want to list. Constraints:
public String getLogFileName()
public void setLogFileName(String logFileName)
logFileName
- The name of the log file to be downloaded.public DownloadDBLogFilePortionRequest withLogFileName(String logFileName)
Returns a reference to this object so that method calls can be chained together.
logFileName
- The name of the log file to be downloaded.public String getMarker()
public void setMarker(String marker)
marker
- The pagination token provided in the previous request or "0". If the
Marker parameter is specified the response includes only records
beyond the marker until the end of the file or up to NumberOfLines.public DownloadDBLogFilePortionRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- The pagination token provided in the previous request or "0". If the
Marker parameter is specified the response includes only records
beyond the marker until the end of the file or up to NumberOfLines.public Integer getNumberOfLines()
If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
public void setNumberOfLines(Integer numberOfLines)
If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
numberOfLines
- The number of lines to download. If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
public DownloadDBLogFilePortionRequest withNumberOfLines(Integer numberOfLines)
If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
Returns a reference to this object so that method calls can be chained together.
numberOfLines
- The number of lines to download. If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
If neither Marker or NumberOfLines are specified, the entire log file is returned.
If NumberOfLines is specified and Marker is not specified, then the most recent lines from the end of the log file are returned.
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
public String toString()
toString
in class Object
Object.toString()
public DownloadDBLogFilePortionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.