Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DescribeDBLogFilesRequest

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

public class DescribeDBLogFilesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeDBLogFiles operation.

Returns a list of DB log files for the DB instance.

See Also:
AmazonRDS.describeDBLogFiles(DescribeDBLogFilesRequest), Serialized Form

Constructor Summary
DescribeDBLogFilesRequest()
           
 
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.
 Long getFileLastWritten()
          Filters the available log files for files written since the specified date.
 String getFilenameContains()
          Filters the available log files for log file names that contain the specified string.
 Long getFileSize()
          Filters the available log files for files larger than the specified size.
 String getMarker()
          The pagination token provided in the previous request.
 Integer getMaxRecords()
          The maximum number of records to include in the response.
 int hashCode()
           
 void setDBInstanceIdentifier(String dBInstanceIdentifier)
          The customer-assigned name of the DB Instance that contains the log files you want to list.
 void setFileLastWritten(Long fileLastWritten)
          Filters the available log files for files written since the specified date.
 void setFilenameContains(String filenameContains)
          Filters the available log files for log file names that contain the specified string.
 void setFileSize(Long fileSize)
          Filters the available log files for files larger than the specified size.
 void setMarker(String marker)
          The pagination token provided in the previous request.
 void setMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeDBLogFilesRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
          The customer-assigned name of the DB Instance that contains the log files you want to list.
 DescribeDBLogFilesRequest withFileLastWritten(Long fileLastWritten)
          Filters the available log files for files written since the specified date.
 DescribeDBLogFilesRequest withFilenameContains(String filenameContains)
          Filters the available log files for log file names that contain the specified string.
 DescribeDBLogFilesRequest withFileSize(Long fileSize)
          Filters the available log files for files larger than the specified size.
 DescribeDBLogFilesRequest withMarker(String marker)
          The pagination token provided in the previous request.
 DescribeDBLogFilesRequest withMaxRecords(Integer maxRecords)
          The maximum number of records to include in the response.
 
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

DescribeDBLogFilesRequest

public DescribeDBLogFilesRequest()
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 DescribeDBLogFilesRequest 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.

getFilenameContains

public String getFilenameContains()
Filters the available log files for log file names that contain the specified string.

Returns:
Filters the available log files for log file names that contain the specified string.

setFilenameContains

public void setFilenameContains(String filenameContains)
Filters the available log files for log file names that contain the specified string.

Parameters:
filenameContains - Filters the available log files for log file names that contain the specified string.

withFilenameContains

public DescribeDBLogFilesRequest withFilenameContains(String filenameContains)
Filters the available log files for log file names that contain the specified string.

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

Parameters:
filenameContains - Filters the available log files for log file names that contain the specified string.
Returns:
A reference to this updated object so that method calls can be chained together.

getFileLastWritten

public Long getFileLastWritten()
Filters the available log files for files written since the specified date.

Returns:
Filters the available log files for files written since the specified date.

setFileLastWritten

public void setFileLastWritten(Long fileLastWritten)
Filters the available log files for files written since the specified date.

Parameters:
fileLastWritten - Filters the available log files for files written since the specified date.

withFileLastWritten

public DescribeDBLogFilesRequest withFileLastWritten(Long fileLastWritten)
Filters the available log files for files written since the specified date.

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

Parameters:
fileLastWritten - Filters the available log files for files written since the specified date.
Returns:
A reference to this updated object so that method calls can be chained together.

getFileSize

public Long getFileSize()
Filters the available log files for files larger than the specified size.

Returns:
Filters the available log files for files larger than the specified size.

setFileSize

public void setFileSize(Long fileSize)
Filters the available log files for files larger than the specified size.

Parameters:
fileSize - Filters the available log files for files larger than the specified size.

withFileSize

public DescribeDBLogFilesRequest withFileSize(Long fileSize)
Filters the available log files for files larger than the specified size.

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

Parameters:
fileSize - Filters the available log files for files larger than the specified size.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxRecords

public Integer getMaxRecords()
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Returns:
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

setMaxRecords

public void setMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

withMaxRecords

public DescribeDBLogFilesRequest withMaxRecords(Integer maxRecords)
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

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

Parameters:
maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.
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 DescribeDBLogFilesRequest 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.

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.