Class ObjectRequest<T extends ObjectRequest<T>>
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonBuilder<T>
io.helidon.integrations.common.rest.ApiJsonRequest<T>
io.helidon.integrations.oci.connect.OciRequestBase<T>
io.helidon.integrations.oci.objectstorage.ObjectRequest<T>
- Type Parameters:
T- type of the subclass
- All Implemented Interfaces:
ApiRequest<T>
- Direct Known Subclasses:
DeleteObject.Request,GetObject.Request,PutObject.Request,RenameObject.Request
Object store base request class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket()Name of the bucket, required.The name of the bucket.Namespace if configured on this request.The Object Storage namespace used for the request.Object name, required.objectName(String objectName) The name of the object.Methods inherited from class io.helidon.integrations.oci.connect.OciRequestBase
add, endpoint, endpoint, hostFormat, hostPrefix, retryTokenMethods inherited from class io.helidon.integrations.common.rest.ApiJsonRequest
addHeader, addQueryParam, headers, queryParams, requestId, requestId, requestMediaType, requestMediaType, responseMediaType, responseMediaTypeMethods inherited from class io.helidon.integrations.common.rest.ApiJsonBuilder
add, add, add, add, add, add, addBase64, addToArray, addToArray, addToArray, addToArray, addToArray, addToArray, addToObject, addToObject, addToObject, addToObject, addToObject, emptyArray, me, postBuild, preBuild, toJsonMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.integrations.common.rest.ApiRequest
toJson
-
Constructor Details
-
ObjectRequest
public ObjectRequest()
-
-
Method Details
-
namespace
The Object Storage namespace used for the request. Override the default namespace (if one is configured).- Parameters:
namespace- namespace- Returns:
- updated request
-
bucket
The name of the bucket. Avoid entering confidential information. Required.- Parameters:
bucket- bucket name- Returns:
- updated requst
-
objectName
The name of the object. Avoid entering confidential information. Required.- Parameters:
objectName- name of the object- Returns:
- updated request
-
namespace
Namespace if configured on this request.- Returns:
- namespace or empty if not configured per request
-
bucket
Name of the bucket, required.- Returns:
- bucket name
-
objectName
Object name, required.- Returns:
- object name
-