Class ObjectStorageClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.objectstorage.ObjectStorageClient
 
 
- 
- All Implemented Interfaces:
- ObjectStorage,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ObjectStorageClient extends BaseSyncClient implements ObjectStorage
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classObjectStorageClient.BuilderBuilder class for this client.
 - 
Field SummaryFields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for ObjectStorage.
 - 
Constructor SummaryConstructors Constructor Description ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbortMultipartUploadResponseabortMultipartUpload(AbortMultipartUploadRequest request)Aborts an in-progress multipart upload and deletes all parts that have been uploaded.static ObjectStorageClient.Builderbuilder()Create a builder for this client.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancels a work request.voidclose()CommitMultipartUploadResponsecommitMultipartUpload(CommitMultipartUploadRequest request)Commits a multipart upload, which involves checking part numbers and entity tags (ETags) of the parts, to create an aggregate object.CopyObjectResponsecopyObject(CopyObjectRequest request)Creates a request to copy an object within a region or to another region.CreateBucketResponsecreateBucket(CreateBucketRequest request)Creates a bucket in the given namespace with a bucket name and optional user-defined metadata.CreateMultipartUploadResponsecreateMultipartUpload(CreateMultipartUploadRequest request)Starts a new multipart upload to a specific object in the given bucket in the given namespace.CreatePreauthenticatedRequestResponsecreatePreauthenticatedRequest(CreatePreauthenticatedRequestRequest request)Creates a pre-authenticated request specific to the bucket.CreatePrivateEndpointResponsecreatePrivateEndpoint(CreatePrivateEndpointRequest request)Create a PrivateEndpoint.CreateReplicationPolicyResponsecreateReplicationPolicy(CreateReplicationPolicyRequest request)Creates a replication policy for the specified bucket.CreateRetentionRuleResponsecreateRetentionRule(CreateRetentionRuleRequest request)Creates a new retention rule in the specified bucket.DeleteBucketResponsedeleteBucket(DeleteBucketRequest request)Deletes a bucket if the bucket is already empty.DeleteObjectResponsedeleteObject(DeleteObjectRequest request)Deletes an object.DeleteObjectLifecyclePolicyResponsedeleteObjectLifecyclePolicy(DeleteObjectLifecyclePolicyRequest request)Deletes the object lifecycle policy for the bucket.DeletePreauthenticatedRequestResponsedeletePreauthenticatedRequest(DeletePreauthenticatedRequestRequest request)Deletes the pre-authenticated request for the bucket.DeletePrivateEndpointResponsedeletePrivateEndpoint(DeletePrivateEndpointRequest request)Deletes a Private Endpoint if it exists in the given namespace.DeleteReplicationPolicyResponsedeleteReplicationPolicy(DeleteReplicationPolicyRequest request)Deletes the replication policy associated with the source bucket.DeleteRetentionRuleResponsedeleteRetentionRule(DeleteRetentionRuleRequest request)Deletes the specified rule.GetBucketResponsegetBucket(GetBucketRequest request)Gets the current representation of the given bucket in the given Object Storage namespace.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()GetNamespaceResponsegetNamespace(GetNamespaceRequest request)Each Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace.GetNamespaceMetadataResponsegetNamespaceMetadata(GetNamespaceMetadataRequest request)Gets the metadata for the Object Storage namespace, which contains defaultS3CompartmentId and defaultSwiftCompartmentId.GetObjectResponsegetObject(GetObjectRequest request)Gets the metadata and body of an object.GetObjectLifecyclePolicyResponsegetObjectLifecyclePolicy(GetObjectLifecyclePolicyRequest request)Gets the object lifecycle policy for the bucket.ObjectStoragePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPreauthenticatedRequestResponsegetPreauthenticatedRequest(GetPreauthenticatedRequestRequest request)Gets the pre-authenticated request for the bucket.GetPrivateEndpointResponsegetPrivateEndpoint(GetPrivateEndpointRequest request)Gets the current representation of the given Private Endpoint in the given Object Storage namespace.GetReplicationPolicyResponsegetReplicationPolicy(GetReplicationPolicyRequest request)Get the replication policy.GetRetentionRuleResponsegetRetentionRule(GetRetentionRuleRequest request)Get the specified retention rule.ObjectStorageWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request for the given ID.HeadBucketResponseheadBucket(HeadBucketRequest request)Efficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.HeadObjectResponseheadObject(HeadObjectRequest request)Gets the user-defined metadata and entity tag (ETag) for an object.ListBucketsResponselistBuckets(ListBucketsRequest request)Gets a list of all BucketSummary items in a compartment.ListMultipartUploadPartsResponselistMultipartUploadParts(ListMultipartUploadPartsRequest request)Lists the parts of an in-progress multipart upload.ListMultipartUploadsResponselistMultipartUploads(ListMultipartUploadsRequest request)Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.ListObjectsResponselistObjects(ListObjectsRequest request)Lists the objects in a bucket.ListObjectVersionsResponselistObjectVersions(ListObjectVersionsRequest request)Lists the object versions in a bucket.ListPreauthenticatedRequestsResponselistPreauthenticatedRequests(ListPreauthenticatedRequestsRequest request)Lists pre-authenticated requests for the bucket.ListPrivateEndpointsResponselistPrivateEndpoints(ListPrivateEndpointsRequest request)Gets a list of all PrivateEndpointSummary in a compartment associated with a namespace.ListReplicationPoliciesResponselistReplicationPolicies(ListReplicationPoliciesRequest request)List the replication policies associated with a bucket.ListReplicationSourcesResponselistReplicationSources(ListReplicationSourcesRequest request)List the replication sources of a destination bucket.ListRetentionRulesResponselistRetentionRules(ListRetentionRulesRequest request)List the retention rules for a bucket.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Lists the errors of the work request with the given ID.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Lists the logs of the work request with the given ID.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.MakeBucketWritableResponsemakeBucketWritable(MakeBucketWritableRequest request)Stops replication to the destination bucket and removes the replication policy.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.PutObjectResponseputObject(PutObjectRequest request)Creates a new object or overwrites an existing object with the same name.PutObjectLifecyclePolicyResponseputObjectLifecyclePolicy(PutObjectLifecyclePolicyRequest request)Creates or replaces the object lifecycle policy for the bucket.ReencryptBucketResponsereencryptBucket(ReencryptBucketRequest request)Re-encrypts the unique data encryption key that encrypts each object written to the bucket by using the most recent version of the master encryption key assigned to the bucket.ReencryptObjectResponsereencryptObject(ReencryptObjectRequest request)Re-encrypts the data encryption keys that encrypt the object and its chunks.voidrefreshClient()Rebuild the backingHttpClient.RenameObjectResponserenameObject(RenameObjectRequest request)Rename an object in the given Object Storage namespace.RestoreObjectsResponserestoreObjects(RestoreObjectsRequest request)Restores the object specified by the objectName parameter.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateBucketResponseupdateBucket(UpdateBucketRequest request)Performs a partial or full update of a bucket’s user-defined metadata.UpdateNamespaceMetadataResponseupdateNamespaceMetadata(UpdateNamespaceMetadataRequest request)By default, buckets created using the Amazon S3 Compatibility API or the Swift API are created in the root compartment of the Oracle Cloud Infrastructure tenancy.UpdateObjectStorageTierResponseupdateObjectStorageTier(UpdateObjectStorageTierRequest request)Changes the storage tier of the object specified by the objectName parameter.UpdatePrivateEndpointResponseupdatePrivateEndpoint(UpdatePrivateEndpointRequest request)Performs a partial or full update of a user-defined data associated with the Private Endpoint.UpdateRetentionRuleResponseupdateRetentionRule(UpdateRetentionRuleRequest request)Updates the specified retention rule.UploadPartResponseuploadPart(UploadPartRequest request)Uploads a single part of a multipart upload.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.objectstorage.ObjectStoragegetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
ObjectStorageClient@Deprecated public ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
 
 - 
ObjectStorageClient@Deprecated public ObjectStorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ObjectStorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
- executorService-- ObjectStorageClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
builderpublic static ObjectStorageClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:ObjectStorageSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
- setRegionin interface- ObjectStorage
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:ObjectStorageSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
- setRegionin interface- ObjectStorage
- Parameters:
- regionId- The public region ID.
 
 - 
abortMultipartUploadpublic AbortMultipartUploadResponse abortMultipartUpload(AbortMultipartUploadRequest request) Description copied from interface:ObjectStorageAborts an in-progress multipart upload and deletes all parts that have been uploaded.- Specified by:
- abortMultipartUploadin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
cancelWorkRequestpublic CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request) Description copied from interface:ObjectStorageCancels a work request.- Specified by:
- cancelWorkRequestin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
commitMultipartUploadpublic CommitMultipartUploadResponse commitMultipartUpload(CommitMultipartUploadRequest request) Description copied from interface:ObjectStorageCommits a multipart upload, which involves checking part numbers and entity tags (ETags) of the parts, to create an aggregate object.- Specified by:
- commitMultipartUploadin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
copyObjectpublic CopyObjectResponse copyObject(CopyObjectRequest request) Description copied from interface:ObjectStorageCreates a request to copy an object within a region or to another region.See [Object Names](https://docs.oracle.com/iaas/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements. - Specified by:
- copyObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createBucketpublic CreateBucketResponse createBucket(CreateBucketRequest request) Description copied from interface:ObjectStorageCreates a bucket in the given namespace with a bucket name and optional user-defined metadata.Avoid entering confidential information in bucket names. - Specified by:
- createBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createMultipartUploadpublic CreateMultipartUploadResponse createMultipartUpload(CreateMultipartUploadRequest request) Description copied from interface:ObjectStorageStarts a new multipart upload to a specific object in the given bucket in the given namespace.See [Object Names](https://docs.oracle.com/iaas/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements. - Specified by:
- createMultipartUploadin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createPreauthenticatedRequestpublic CreatePreauthenticatedRequestResponse createPreauthenticatedRequest(CreatePreauthenticatedRequestRequest request) Description copied from interface:ObjectStorageCreates a pre-authenticated request specific to the bucket.- Specified by:
- createPreauthenticatedRequestin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createPrivateEndpointpublic CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request) Description copied from interface:ObjectStorageCreate a PrivateEndpoint.- Specified by:
- createPrivateEndpointin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createReplicationPolicypublic CreateReplicationPolicyResponse createReplicationPolicy(CreateReplicationPolicyRequest request) Description copied from interface:ObjectStorageCreates a replication policy for the specified bucket.- Specified by:
- createReplicationPolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createRetentionRulepublic CreateRetentionRuleResponse createRetentionRule(CreateRetentionRuleRequest request) Description copied from interface:ObjectStorageCreates a new retention rule in the specified bucket.The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket. - Specified by:
- createRetentionRulein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteBucketpublic DeleteBucketResponse deleteBucket(DeleteBucketRequest request) Description copied from interface:ObjectStorageDeletes a bucket if the bucket is already empty.If the bucket is not empty, use deleteObjectfirst. In addition, you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated request associated with that bucket.- Specified by:
- deleteBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteObjectpublic DeleteObjectResponse deleteObject(DeleteObjectRequest request) Description copied from interface:ObjectStorageDeletes an object.- Specified by:
- deleteObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteObjectLifecyclePolicypublic DeleteObjectLifecyclePolicyResponse deleteObjectLifecyclePolicy(DeleteObjectLifecyclePolicyRequest request) Description copied from interface:ObjectStorageDeletes the object lifecycle policy for the bucket.- Specified by:
- deleteObjectLifecyclePolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deletePreauthenticatedRequestpublic DeletePreauthenticatedRequestResponse deletePreauthenticatedRequest(DeletePreauthenticatedRequestRequest request) Description copied from interface:ObjectStorageDeletes the pre-authenticated request for the bucket.- Specified by:
- deletePreauthenticatedRequestin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deletePrivateEndpointpublic DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request) Description copied from interface:ObjectStorageDeletes a Private Endpoint if it exists in the given namespace.- Specified by:
- deletePrivateEndpointin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteReplicationPolicypublic DeleteReplicationPolicyResponse deleteReplicationPolicy(DeleteReplicationPolicyRequest request) Description copied from interface:ObjectStorageDeletes the replication policy associated with the source bucket.- Specified by:
- deleteReplicationPolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteRetentionRulepublic DeleteRetentionRuleResponse deleteRetentionRule(DeleteRetentionRuleRequest request) Description copied from interface:ObjectStorageDeletes the specified rule.The deletion takes effect typically within 30 seconds. - Specified by:
- deleteRetentionRulein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getBucketpublic GetBucketResponse getBucket(GetBucketRequest request) Description copied from interface:ObjectStorageGets the current representation of the given bucket in the given Object Storage namespace.- Specified by:
- getBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getNamespacepublic GetNamespaceResponse getNamespace(GetNamespaceRequest request) Description copied from interface:ObjectStorageEach Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace.The namespace is a system-generated string assigned during account creation. For some older tenancies, the namespace string may be the tenancy name in all lower-case letters. You cannot edit a namespace. GetNamespace returns the name of the Object Storage namespace for the user making the request. If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding tenancy, provided the user has access to it. - Specified by:
- getNamespacein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getNamespaceMetadatapublic GetNamespaceMetadataResponse getNamespaceMetadata(GetNamespaceMetadataRequest request) Description copied from interface:ObjectStorageGets the metadata for the Object Storage namespace, which contains defaultS3CompartmentId and defaultSwiftCompartmentId.Any user with the OBJECTSTORAGE_NAMESPACE_READ permission will be able to see the current metadata. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). - Specified by:
- getNamespaceMetadatain interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getObjectpublic GetObjectResponse getObject(GetObjectRequest request) Description copied from interface:ObjectStorageGets the metadata and body of an object.- Specified by:
- getObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getObjectLifecyclePolicypublic GetObjectLifecyclePolicyResponse getObjectLifecyclePolicy(GetObjectLifecyclePolicyRequest request) Description copied from interface:ObjectStorageGets the object lifecycle policy for the bucket.- Specified by:
- getObjectLifecyclePolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getPreauthenticatedRequestpublic GetPreauthenticatedRequestResponse getPreauthenticatedRequest(GetPreauthenticatedRequestRequest request) Description copied from interface:ObjectStorageGets the pre-authenticated request for the bucket.- Specified by:
- getPreauthenticatedRequestin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getPrivateEndpointpublic GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request) Description copied from interface:ObjectStorageGets the current representation of the given Private Endpoint in the given Object Storage namespace.- Specified by:
- getPrivateEndpointin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getReplicationPolicypublic GetReplicationPolicyResponse getReplicationPolicy(GetReplicationPolicyRequest request) Description copied from interface:ObjectStorageGet the replication policy.- Specified by:
- getReplicationPolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRetentionRulepublic GetRetentionRuleResponse getRetentionRule(GetRetentionRuleRequest request) Description copied from interface:ObjectStorageGet the specified retention rule.- Specified by:
- getRetentionRulein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:ObjectStorageGets the status of the work request for the given ID.- Specified by:
- getWorkRequestin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
headBucketpublic HeadBucketResponse headBucket(HeadBucketRequest request) Description copied from interface:ObjectStorageEfficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.- Specified by:
- headBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
headObjectpublic HeadObjectResponse headObject(HeadObjectRequest request) Description copied from interface:ObjectStorageGets the user-defined metadata and entity tag (ETag) for an object.- Specified by:
- headObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listBucketspublic ListBucketsResponse listBuckets(ListBucketsRequest request) Description copied from interface:ObjectStorageGets a list of all BucketSummary items in a compartment.A BucketSummary contains only summary fields for the bucket and does not contain fields like the user-defined metadata. ListBuckets returns a BucketSummary containing at most 1000 buckets. To paginate through more buckets, use the returned `opc-next-page` value with the `page` request parameter. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). - Specified by:
- listBucketsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listMultipartUploadPartspublic ListMultipartUploadPartsResponse listMultipartUploadParts(ListMultipartUploadPartsRequest request) Description copied from interface:ObjectStorageLists the parts of an in-progress multipart upload.- Specified by:
- listMultipartUploadPartsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listMultipartUploadspublic ListMultipartUploadsResponse listMultipartUploads(ListMultipartUploadsRequest request) Description copied from interface:ObjectStorageLists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.- Specified by:
- listMultipartUploadsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listObjectVersionspublic ListObjectVersionsResponse listObjectVersions(ListObjectVersionsRequest request) Description copied from interface:ObjectStorageLists the object versions in a bucket.ListObjectVersions returns an ObjectVersionCollection containing at most 1000 object versions. To paginate through more object versions, use the returned `opc-next-page` value with the `page` request parameter. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). - Specified by:
- listObjectVersionsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listObjectspublic ListObjectsResponse listObjects(ListObjectsRequest request) Description copied from interface:ObjectStorageLists the objects in a bucket.By default, ListObjects returns object names only. See the fieldsparameter for other fields that you can optionally include in ListObjects response.ListObjects returns at most 1000 objects. To paginate through more objects, use the returned 'nextStartWith' value with the 'start' parameter. To filter which objects ListObjects returns, use the 'start' and 'end' parameters. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). - Specified by:
- listObjectsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listPreauthenticatedRequestspublic ListPreauthenticatedRequestsResponse listPreauthenticatedRequests(ListPreauthenticatedRequestsRequest request) Description copied from interface:ObjectStorageLists pre-authenticated requests for the bucket.- Specified by:
- listPreauthenticatedRequestsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listPrivateEndpointspublic ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request) Description copied from interface:ObjectStorageGets a list of all PrivateEndpointSummary in a compartment associated with a namespace.To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies. - Specified by:
- listPrivateEndpointsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listReplicationPoliciespublic ListReplicationPoliciesResponse listReplicationPolicies(ListReplicationPoliciesRequest request) Description copied from interface:ObjectStorageList the replication policies associated with a bucket.- Specified by:
- listReplicationPoliciesin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listReplicationSourcespublic ListReplicationSourcesResponse listReplicationSources(ListReplicationSourcesRequest request) Description copied from interface:ObjectStorageList the replication sources of a destination bucket.- Specified by:
- listReplicationSourcesin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listRetentionRulespublic ListRetentionRulesResponse listRetentionRules(ListRetentionRulesRequest request) Description copied from interface:ObjectStorageList the retention rules for a bucket.The retention rules are sorted based on creation time, with the most recently created retention rule returned first. - Specified by:
- listRetentionRulesin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:ObjectStorageLists the errors of the work request with the given ID.- Specified by:
- listWorkRequestErrorsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:ObjectStorageLists the logs of the work request with the given ID.- Specified by:
- listWorkRequestLogsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:ObjectStorageLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
makeBucketWritablepublic MakeBucketWritableResponse makeBucketWritable(MakeBucketWritableRequest request) Description copied from interface:ObjectStorageStops replication to the destination bucket and removes the replication policy.When the replication policy was created, this destination bucket became read-only except for new and changed objects replicated automatically from the source bucket. MakeBucketWritable removes the replication policy. This bucket is no longer the target for replication and is now writable, allowing users to make changes to bucket contents. - Specified by:
- makeBucketWritablein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
putObjectpublic PutObjectResponse putObject(PutObjectRequest request) Description copied from interface:ObjectStorageCreates a new object or overwrites an existing object with the same name.The maximum object size allowed by PutObject is 50 GiB. See [Object Names](https://docs.oracle.com/iaas/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements. See [Special Instructions for Object Storage PUT](https://docs.oracle.com/iaas/Content/API/Concepts/signingrequests.htm#ObjectStoragePut) for request signature requirements. Note: This operation consumes a stream. If the stream supports InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
- putObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
putObjectLifecyclePolicypublic PutObjectLifecyclePolicyResponse putObjectLifecyclePolicy(PutObjectLifecyclePolicyRequest request) Description copied from interface:ObjectStorageCreates or replaces the object lifecycle policy for the bucket.- Specified by:
- putObjectLifecyclePolicyin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
reencryptBucketpublic ReencryptBucketResponse reencryptBucket(ReencryptBucketRequest request) Description copied from interface:ObjectStorageRe-encrypts the unique data encryption key that encrypts each object written to the bucket by using the most recent version of the master encryption key assigned to the bucket.(All data encryption keys are encrypted by a master encryption key. Master encryption keys are assigned to buckets and managed by Oracle by default, but you can assign a key that you created and control through the Oracle Cloud Infrastructure Key Management service.) The kmsKeyId property of the bucket determines which master encryption key is assigned to the bucket. If you assigned a different Key Management master encryption key to the bucket, you can call this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you might want to re-encrypt all data encryption keys if the assigned key has been rotated to a new key version since objects were last added to the bucket. If you call this API and there is no kmsKeyId associated with the bucket, the call will fail. Calling this API starts a work request task to re-encrypt the data encryption key of all objects in the bucket. Only objects created before the time of the API call will be re-encrypted. The call can take a long time, depending on how many objects are in the bucket and how big they are. This API returns a work request ID that you can use to retrieve the status of the work request task. All the versions of objects will be re-encrypted whether versioning is enabled or suspended at the bucket. - Specified by:
- reencryptBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
reencryptObjectpublic ReencryptObjectResponse reencryptObject(ReencryptObjectRequest request) Description copied from interface:ObjectStorageRe-encrypts the data encryption keys that encrypt the object and its chunks.By default, when you create a bucket, the Object Storage service manages the master encryption key used to encrypt each object’s data encryption keys. The encryption mechanism that you specify for the bucket applies to the objects it contains. You can alternatively employ one of these encryption strategies for an object: - You can assign a key that you created and control through the Oracle Cloud Infrastructure Vault service. - You can encrypt an object using your own encryption key. The key you supply is known as a customer-provided encryption key (SSE-C). - Specified by:
- reencryptObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
renameObjectpublic RenameObjectResponse renameObject(RenameObjectRequest request) Description copied from interface:ObjectStorageRename an object in the given Object Storage namespace.See [Object Names](https://docs.oracle.com/iaas/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements. - Specified by:
- renameObjectin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
restoreObjectspublic RestoreObjectsResponse restoreObjects(RestoreObjectsRequest request) Description copied from interface:ObjectStorageRestores the object specified by the objectName parameter.By default object will be restored for 24 hours. Duration can be configured using the hours parameter. - Specified by:
- restoreObjectsin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateBucketpublic UpdateBucketResponse updateBucket(UpdateBucketRequest request) Description copied from interface:ObjectStoragePerforms a partial or full update of a bucket’s user-defined metadata.Use UpdateBucket to move a bucket from one compartment to another within the same tenancy. Supply the compartmentID of the compartment that you want to move the bucket to. For more information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). - Specified by:
- updateBucketin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateNamespaceMetadatapublic UpdateNamespaceMetadataResponse updateNamespaceMetadata(UpdateNamespaceMetadataRequest request) Description copied from interface:ObjectStorageBy default, buckets created using the Amazon S3 Compatibility API or the Swift API are created in the root compartment of the Oracle Cloud Infrastructure tenancy.You can change the default Swift/Amazon S3 compartmentId designation to a different compartmentId. All subsequent bucket creations will use the new default compartment, but no previously created buckets will be modified. A user must have OBJECTSTORAGE_NAMESPACE_UPDATE permission to make changes to the default compartments for Amazon S3 and Swift. - Specified by:
- updateNamespaceMetadatain interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateObjectStorageTierpublic UpdateObjectStorageTierResponse updateObjectStorageTier(UpdateObjectStorageTierRequest request) Description copied from interface:ObjectStorageChanges the storage tier of the object specified by the objectName parameter.- Specified by:
- updateObjectStorageTierin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updatePrivateEndpointpublic UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request) Description copied from interface:ObjectStoragePerforms a partial or full update of a user-defined data associated with the Private Endpoint.Use UpdatePrivateEndpoint to move a Private Endpoint from one compartment to another within the same tenancy. Supply the compartmentID of the compartment that you want to move the Private Endpoint to. Or use it to update the name, subnetId, endpointFqdn or privateEndpointIp or accessTargets of the Private Endpoint. For more information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). This API follows replace semantics (rather than merge semantics). That means if the body provides values for parameters and the resource has exisiting ones, this operation will replace those existing values. - Specified by:
- updatePrivateEndpointin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateRetentionRulepublic UpdateRetentionRuleResponse updateRetentionRule(UpdateRetentionRuleRequest request) Description copied from interface:ObjectStorageUpdates the specified retention rule.Rule changes take effect typically within 30 seconds. - Specified by:
- updateRetentionRulein interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
uploadPartpublic UploadPartResponse uploadPart(UploadPartRequest request) Description copied from interface:ObjectStorageUploads a single part of a multipart upload.Note: This operation consumes a stream. If the stream supports InputStream.mark(int)andInputStream.reset(), when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used InputStream.mark(int)before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a FileInputStream, and the stream'sFileChannelposition can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)andInputStream.reset(). Then the same procedure as above is followed. If the stream'sFileChannelposition cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support InputStream.mark(int)andInputStream.reset(), then the stream is wrapped in aBufferedInputStream, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a FileInputStreamwhoseFileChannelposition can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
- uploadPartin interface- ObjectStorage
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic ObjectStorageWaiters getWaiters() Description copied from interface:ObjectStorageGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- ObjectStorage
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic ObjectStoragePaginators getPaginators() Description copied from interface:ObjectStorageGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
- getPaginatorsin interface- ObjectStorage
- Returns:
- The service paginators.
 
 - 
useRealmSpecificEndpointTemplatepublic void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled) This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false - Parameters:
- useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
 
 - 
populateServiceParametersInEndpointpublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap) Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank. - Parameters:
- endpoint- The endpoint template in use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic final void updateBaseEndpoint(String endpoint) This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters. - Parameters:
- endpoint- The updated endpoint to use
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-