Class ListObjectsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.objectstorage.requests.ListObjectsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ListObjectsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/objectstorage/ListObjectsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListObjectsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListObjectsRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListObjectsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListObjectsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getBucketName()
The name of the bucket.String
getDelimiter()
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.String
getEnd()
Returns object names which are lexicographically strictly less than this parameter.String
getFields()
Object summary by default includes only the ‘name’ field.Integer
getLimit()
For list pagination.String
getNamespaceName()
The Object Storage namespace used for the request.String
getOpcClientRequestId()
The client request ID for tracing.String
getPrefix()
The string to use for matching against the start of object names in a list query.String
getStart()
Returns object names which are lexicographically greater than or equal to this parameter.String
getStartAfter()
Returns object names which are lexicographically strictly greater than this parameter.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListObjectsRequest.Builder
toBuilder()
Return an instance ofListObjectsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getNamespaceName
public String getNamespaceName()
The Object Storage namespace used for the request.
-
getBucketName
public String getBucketName()
The name of the bucket.Avoid entering confidential information. Example: my-new-bucket1
-
getPrefix
public String getPrefix()
The string to use for matching against the start of object names in a list query.
-
getStart
public String getStart()
Returns object names which are lexicographically greater than or equal to this parameter.
-
getEnd
public String getEnd()
Returns object names which are lexicographically strictly less than this parameter.
-
getLimit
public Integer getLimit()
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.
-
getDelimiter
public String getDelimiter()
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.
-
getFields
public String getFields()
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’.
-
getOpcClientRequestId
public String getOpcClientRequestId()
The client request ID for tracing.
-
getStartAfter
public String getStartAfter()
Returns object names which are lexicographically strictly greater than this parameter.
-
toBuilder
public ListObjectsRequest.Builder toBuilder()
Return an instance ofListObjectsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListObjectsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListObjectsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-