Class ListObjectVersionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.requests.ListObjectVersionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListObjectVersionsRequest,Void>
- Enclosing class:
- ListObjectVersionsRequest
public static class ListObjectVersionsRequest.Builder extends Object implements BmcRequest.Builder<ListObjectVersionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListObjectVersionsRequest.BuilderbucketName(String bucketName)The name of the bucket.ListObjectVersionsRequestbuild()Build the instance of ListObjectVersionsRequest as configured by this builderListObjectVersionsRequestbuildWithoutInvocationCallback()Build the instance of ListObjectVersionsRequest as configured by this builderListObjectVersionsRequest.Buildercopy(ListObjectVersionsRequest o)Copy method to populate the builder with values from the given instance.ListObjectVersionsRequest.Builderdelimiter(String delimiter)When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body.ListObjectVersionsRequest.Builderend(String end)Returns object names which are lexicographically strictly less than this parameter.ListObjectVersionsRequest.Builderfields(String fields)Object summary by default includes only the ‘name’ field.ListObjectVersionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListObjectVersionsRequest.Builderlimit(Integer limit)For list pagination.ListObjectVersionsRequest.BuildernamespaceName(String namespaceName)The Object Storage namespace used for the request.ListObjectVersionsRequest.BuilderopcClientRequestId(String opcClientRequestId)The client request ID for tracing.ListObjectVersionsRequest.Builderpage(String page)For list pagination.ListObjectVersionsRequest.Builderprefix(String prefix)The string to use for matching against the start of object names in a list query.ListObjectVersionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListObjectVersionsRequest.Builderstart(String start)Returns object names which are lexicographically greater than or equal to this parameter.ListObjectVersionsRequest.BuilderstartAfter(String startAfter)Returns object names which are lexicographically strictly greater than this parameter.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
namespaceName
public ListObjectVersionsRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
bucketName
public ListObjectVersionsRequest.Builder bucketName(String bucketName)
The name of the bucket.Avoid entering confidential information. Example: my-new-bucket1
- Parameters:
bucketName- the value to set- Returns:
- this builder instance
-
prefix
public ListObjectVersionsRequest.Builder prefix(String prefix)
The string to use for matching against the start of object names in a list query.- Parameters:
prefix- the value to set- Returns:
- this builder instance
-
start
public ListObjectVersionsRequest.Builder start(String start)
Returns object names which are lexicographically greater than or equal to this parameter.- Parameters:
start- the value to set- Returns:
- this builder instance
-
end
public ListObjectVersionsRequest.Builder end(String end)
Returns object names which are lexicographically strictly less than this parameter.- Parameters:
end- the value to set- Returns:
- this builder instance
-
limit
public ListObjectVersionsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
delimiter
public ListObjectVersionsRequest.Builder delimiter(String delimiter)
When this parameter is set, only objects whose names do not contain the delimiter character (after an optionally specified prefix) are returned in the objects key of the response body.Scanned objects whose names contain the delimiter have the part of their name up to the first occurrence of the delimiter (including the optional prefix) returned as a set of prefixes. Note that only ‘/’ is a supported delimiter character at this time.
- Parameters:
delimiter- the value to set- Returns:
- this builder instance
-
fields
public ListObjectVersionsRequest.Builder fields(String fields)
Object summary by default includes only the ‘name’ field.Use this parameter to also include ‘size’ (object size in bytes), ‘etag’, ‘md5’, ‘timeCreated’ (object creation date and time), ‘timeModified’ (object modification date and time), ‘storageTier’ and ‘archivalState’ fields. Specify the value of this parameter as a comma-separated, case-insensitive list of those field names. For example ‘name,etag,timeCreated,md5,timeModified,storageTier,archivalState’.
- Parameters:
fields- the value to set- Returns:
- this builder instance
-
opcClientRequestId
public ListObjectVersionsRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder instance
-
startAfter
public ListObjectVersionsRequest.Builder startAfter(String startAfter)
Returns object names which are lexicographically strictly greater than this parameter.- Parameters:
startAfter- the value to set- Returns:
- this builder instance
-
page
public ListObjectVersionsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListObjectVersionsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListObjectVersionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListObjectVersionsRequest.Builder copy(ListObjectVersionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListObjectVersionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListObjectVersionsRequest build()
Build the instance of ListObjectVersionsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<ListObjectVersionsRequest,Void>- Returns:
- instance of ListObjectVersionsRequest
-
buildWithoutInvocationCallback
public ListObjectVersionsRequest buildWithoutInvocationCallback()
Build the instance of ListObjectVersionsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListObjectVersionsRequest
-
-