Class ListNextBatchOfVersionsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.ListNextBatchOfVersionsRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Request object for the parameters to list next batch of versions.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionListNextBatchOfVersionsRequest(VersionListing previousVersionListing) Creates a request object for listing next batch of versions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the previous version listing.voidsetPreviousVersionListing(VersionListing previousVersionListing) Sets the previous version listing and all the features of the next version listing as well.Creates a newListVersionsRequestobject using the previous version listing.withPreviousVersionListing(VersionListing previousVersionListing) Sets the previous version listing and returns the updated request object so that additional method calls can be chained together.Methods inherited from class AmazonWebServiceRequest
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListNextBatchOfVersionsRequest
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
Returns the previous version listing.- Returns:
- The previous version listing.
-
setPreviousVersionListing
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
Creates a newListVersionsRequestobject using the previous version listing.- Returns:
- A new
ListVersionsRequestobject using the previous version listing.
-