Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DownloadDBLogFilePortionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DownloadDBLogFilePortionRequest
All Implemented Interfaces:
Serializable

public class DownloadDBLogFilePortionRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DownloadDBLogFilePortion operation.

Downloads the last line of the specified log file.

See Also:
AmazonRDS.downloadDBLogFilePortion(DownloadDBLogFilePortionRequest), Serialized Form

Constructor Summary
DownloadDBLogFilePortionRequest()
           
 
Method Summary
 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.
 Integer getNumberOfLines()
          The number of lines remaining to be downloaded.
 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.
 void setNumberOfLines(Integer numberOfLines)
          The number of lines remaining to be downloaded.
 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.
 DownloadDBLogFilePortionRequest withNumberOfLines(Integer numberOfLines)
          The number of lines remaining to be downloaded.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DownloadDBLogFilePortionRequest

public DownloadDBLogFilePortionRequest()
Method Detail

getDBInstanceIdentifier

public String getDBInstanceIdentifier()
The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

Returns:
The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

setDBInstanceIdentifier

public void setDBInstanceIdentifier(String dBInstanceIdentifier)
The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

Parameters:
dBInstanceIdentifier - The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

withDBInstanceIdentifier

public DownloadDBLogFilePortionRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBInstanceIdentifier - The customer-assigned name of the DB Instance that contains the log files you want to list.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens
Returns:
A reference to this updated object so that method calls can be chained together.

getLogFileName

public String getLogFileName()
The name of the log file to be downloaded.

Returns:
The name of the log file to be downloaded.

setLogFileName

public void setLogFileName(String logFileName)
The name of the log file to be downloaded.

Parameters:
logFileName - The name of the log file to be downloaded.

withLogFileName

public DownloadDBLogFilePortionRequest withLogFileName(String logFileName)
The name of the log file to be downloaded.

Returns a reference to this object so that method calls can be chained together.

Parameters:
logFileName - The name of the log file to be downloaded.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

Returns:
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

setMarker

public void setMarker(String marker)
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

Parameters:
marker - The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

withMarker

public DownloadDBLogFilePortionRequest withMarker(String marker)
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.

Returns a reference to this object so that method calls can be chained together.

Parameters:
marker - The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.
Returns:
A reference to this updated object so that method calls can be chained together.

getNumberOfLines

public Integer getNumberOfLines()
The number of lines remaining to be downloaded.

Returns:
The number of lines remaining to be downloaded.

setNumberOfLines

public void setNumberOfLines(Integer numberOfLines)
The number of lines remaining to be downloaded.

Parameters:
numberOfLines - The number of lines remaining to be downloaded.

withNumberOfLines

public DownloadDBLogFilePortionRequest withNumberOfLines(Integer numberOfLines)
The number of lines remaining to be downloaded.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numberOfLines - The number of lines remaining to be downloaded.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.