Class ListNextBatchOfVersionsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.ListNextBatchOfVersionsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListNextBatchOfVersionsRequest extends AmazonWebServiceRequest implements Serializable
Request object for the parameters to list next batch of versions.
See Also:
  • Constructor Details

    • ListNextBatchOfVersionsRequest

      public ListNextBatchOfVersionsRequest(VersionListing previousVersionListing)
      Creates a request object for listing next batch of versions.
      Parameters:
      previousVersionListing - The previous version listing whose features are to be fetched.
  • Method Details

    • getPreviousVersionListing

      public VersionListing getPreviousVersionListing()
      Returns the previous version listing.
      Returns:
      The previous version listing.
    • setPreviousVersionListing

      public void setPreviousVersionListing(VersionListing previousVersionListing)
      Sets the previous version listing and all the features of the next version listing as well.
      Parameters:
      previousVersionListing - This parameter must be specified.
    • withPreviousVersionListing

      public ListNextBatchOfVersionsRequest withPreviousVersionListing(VersionListing previousVersionListing)
      Sets the previous version listing and returns the updated request object so that additional method calls can be chained together.
      Parameters:
      previousVersionListing - The previous version listing object whose features are to be fetched.
      Returns:
      This updated request object so that additional method calls can be chained together.
    • toListVersionsRequest

      public ListVersionsRequest toListVersionsRequest()
      Creates a new ListVersionsRequest object using the previous version listing.
      Returns:
      A new ListVersionsRequest object using the previous version listing.