public static class ListObjectsRequest.Builder extends Object implements BmcRequest.Builder<ListObjectsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListObjectsRequest.Builder |
bucketName(String bucketName)
The name of the bucket.
|
ListObjectsRequest |
build()
Build the instance of ListObjectsRequest as configured by this builder
|
ListObjectsRequest |
buildWithoutInvocationCallback()
Build the instance of ListObjectsRequest as configured by this builder
|
ListObjectsRequest.Builder |
copy(ListObjectsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListObjectsRequest.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.
|
ListObjectsRequest.Builder |
end(String end)
Returns object names which are lexicographically strictly less than this parameter.
|
ListObjectsRequest.Builder |
fields(String fields)
Object summary by default includes only the ‘name’ field.
|
ListObjectsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListObjectsRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListObjectsRequest.Builder |
namespaceName(String namespaceName)
The Object Storage namespace used for the request.
|
ListObjectsRequest.Builder |
opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
|
ListObjectsRequest.Builder |
prefix(String prefix)
The string to use for matching against the start of object names in a list query.
|
ListObjectsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListObjectsRequest.Builder |
start(String start)
Returns object names which are lexicographically greater than or equal to this parameter.
|
ListObjectsRequest.Builder |
startAfter(String startAfter)
Returns object names which are lexicographically strictly greater than this parameter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListObjectsRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.
namespaceName
- the value to setpublic ListObjectsRequest.Builder bucketName(String bucketName)
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
bucketName
- the value to setpublic ListObjectsRequest.Builder prefix(String prefix)
The string to use for matching against the start of object names in a list query.
prefix
- the value to setpublic ListObjectsRequest.Builder start(String start)
Returns object names which are lexicographically greater than or equal to this parameter.
start
- the value to setpublic ListObjectsRequest.Builder end(String end)
Returns object names which are lexicographically strictly less than this parameter.
end
- the value to setpublic ListObjectsRequest.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.
limit
- the value to setpublic ListObjectsRequest.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.
delimiter
- the value to setpublic ListObjectsRequest.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’.
fields
- the value to setpublic ListObjectsRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
opcClientRequestId
- the value to setpublic ListObjectsRequest.Builder startAfter(String startAfter)
Returns object names which are lexicographically strictly greater than this parameter.
startAfter
- the value to setpublic ListObjectsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListObjectsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListObjectsRequest.Builder copy(ListObjectsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListObjectsRequest,Void>
o
- other request from which to copy valuespublic ListObjectsRequest build()
Build the instance of ListObjectsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListObjectsRequest,Void>
public ListObjectsRequest buildWithoutInvocationCallback()
Build the instance of ListObjectsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.