Class GetBucket.Response
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.oci.connect.OciResponseParser
io.helidon.integrations.oci.objectstorage.GetBucket.Response
- Enclosing class:
- GetBucket
Response object parsed from JSON returned by the
RestApi.-
Method Summary
Modifier and TypeMethodDescriptionintThe approximate number of objects in the bucket.longThe approximate total size in bytes of all objects in the bucket.bucketId()Bucket OCID.The compartment ID in which the bucket is authorized.created()The date and time the bucket was created.The OCID of the user who created the bucket.name()The name of the bucket.The Object Storage namespace in which the bucket resides.Methods inherited from class io.helidon.integrations.oci.connect.OciResponseParser
getInstant, toInstantMethods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
Method Details
-
bucketId
Bucket OCID.- Returns:
- bucket id
-
namespace
The Object Storage namespace in which the bucket resides.- Returns:
- namespace
-
created
The date and time the bucket was created.- Returns:
- created instant
-
name
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1.- Returns:
- bucket name
-
compartmentId
The compartment ID in which the bucket is authorized.- Returns:
- compartment ID
-
createdBy
The OCID of the user who created the bucket.- Returns:
- user OCID
-
approximateCount
public int approximateCount()The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a lag between what is displayed and the actual object count.- Returns:
- count on
-1if not available
-
approximateSize
public long approximateSize()The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will see a lag between what is displayed and the actual size of the bucket.- Returns:
- size or
-1if not available
-