com.amazonaws.services.s3.AbstractAmazonS3 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-s3 Show documentation
Show all versions of aws-java-sdk-s3 Show documentation
The AWS Java SDK for Amazon S3 module holds the client classes that are used for communicating with Amazon Simple Storage Service
/*
* Copyright 2015-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.s3;
import com.amazonaws.services.s3.model.DeleteBucketOwnershipControlsRequest;
import com.amazonaws.services.s3.model.DeleteBucketOwnershipControlsResult;
import com.amazonaws.services.s3.model.GetBucketOwnershipControlsRequest;
import com.amazonaws.services.s3.model.GetBucketOwnershipControlsResult;
import com.amazonaws.services.s3.model.ListBucketsPaginatedRequest;
import com.amazonaws.services.s3.model.ListBucketsPaginatedResult;
import com.amazonaws.services.s3.model.SetBucketOwnershipControlsRequest;
import com.amazonaws.services.s3.model.SetBucketOwnershipControlsResult;
import com.amazonaws.services.s3.model.SetRequestPaymentConfigurationRequest;
import com.amazonaws.services.s3.model.WriteGetObjectResponseRequest;
import com.amazonaws.services.s3.model.WriteGetObjectResponseResult;
import com.amazonaws.services.s3.model.ownership.OwnershipControls;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.util.Date;
import java.util.List;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.AmazonWebServiceRequest;
import com.amazonaws.HttpMethod;
import com.amazonaws.SdkClientException;
import com.amazonaws.regions.Region;
import com.amazonaws.services.s3.model.AbortMultipartUploadRequest;
import com.amazonaws.services.s3.model.AccessControlList;
import com.amazonaws.services.s3.model.Bucket;
import com.amazonaws.services.s3.model.BucketAccelerateConfiguration;
import com.amazonaws.services.s3.model.BucketCrossOriginConfiguration;
import com.amazonaws.services.s3.model.BucketLifecycleConfiguration;
import com.amazonaws.services.s3.model.BucketLoggingConfiguration;
import com.amazonaws.services.s3.model.BucketNotificationConfiguration;
import com.amazonaws.services.s3.model.BucketPolicy;
import com.amazonaws.services.s3.model.BucketReplicationConfiguration;
import com.amazonaws.services.s3.model.BucketTaggingConfiguration;
import com.amazonaws.services.s3.model.BucketVersioningConfiguration;
import com.amazonaws.services.s3.model.BucketWebsiteConfiguration;
import com.amazonaws.services.s3.model.CannedAccessControlList;
import com.amazonaws.services.s3.model.CompleteMultipartUploadRequest;
import com.amazonaws.services.s3.model.CompleteMultipartUploadResult;
import com.amazonaws.services.s3.model.CopyObjectRequest;
import com.amazonaws.services.s3.model.CopyObjectResult;
import com.amazonaws.services.s3.model.CopyPartRequest;
import com.amazonaws.services.s3.model.CopyPartResult;
import com.amazonaws.services.s3.model.CreateBucketRequest;
import com.amazonaws.services.s3.model.DeleteBucketAnalyticsConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketAnalyticsConfigurationResult;
import com.amazonaws.services.s3.model.DeleteBucketCrossOriginConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketEncryptionRequest;
import com.amazonaws.services.s3.model.DeleteBucketEncryptionResult;
import com.amazonaws.services.s3.model.DeleteBucketIntelligentTieringConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketIntelligentTieringConfigurationResult;
import com.amazonaws.services.s3.model.DeleteBucketInventoryConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketInventoryConfigurationResult;
import com.amazonaws.services.s3.model.DeleteBucketLifecycleConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketMetricsConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketMetricsConfigurationResult;
import com.amazonaws.services.s3.model.DeleteBucketPolicyRequest;
import com.amazonaws.services.s3.model.DeleteBucketReplicationConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketRequest;
import com.amazonaws.services.s3.model.DeleteBucketTaggingConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteBucketWebsiteConfigurationRequest;
import com.amazonaws.services.s3.model.DeleteObjectRequest;
import com.amazonaws.services.s3.model.DeleteObjectTaggingRequest;
import com.amazonaws.services.s3.model.DeleteObjectTaggingResult;
import com.amazonaws.services.s3.model.DeleteObjectsRequest;
import com.amazonaws.services.s3.model.DeleteObjectsResult;
import com.amazonaws.services.s3.model.DeletePublicAccessBlockRequest;
import com.amazonaws.services.s3.model.DeletePublicAccessBlockResult;
import com.amazonaws.services.s3.model.DeleteVersionRequest;
import com.amazonaws.services.s3.model.GeneratePresignedUrlRequest;
import com.amazonaws.services.s3.model.GetBucketAccelerateConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketAclRequest;
import com.amazonaws.services.s3.model.GetBucketAnalyticsConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketAnalyticsConfigurationResult;
import com.amazonaws.services.s3.model.GetBucketCrossOriginConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketEncryptionRequest;
import com.amazonaws.services.s3.model.GetBucketEncryptionResult;
import com.amazonaws.services.s3.model.GetBucketIntelligentTieringConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketIntelligentTieringConfigurationResult;
import com.amazonaws.services.s3.model.GetBucketInventoryConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketInventoryConfigurationResult;
import com.amazonaws.services.s3.model.GetBucketLifecycleConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketLocationRequest;
import com.amazonaws.services.s3.model.GetBucketLoggingConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketMetricsConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketMetricsConfigurationResult;
import com.amazonaws.services.s3.model.GetBucketNotificationConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketPolicyRequest;
import com.amazonaws.services.s3.model.GetBucketPolicyStatusRequest;
import com.amazonaws.services.s3.model.GetBucketPolicyStatusResult;
import com.amazonaws.services.s3.model.GetBucketReplicationConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketTaggingConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketVersioningConfigurationRequest;
import com.amazonaws.services.s3.model.GetBucketWebsiteConfigurationRequest;
import com.amazonaws.services.s3.model.GetObjectAclRequest;
import com.amazonaws.services.s3.model.GetObjectLegalHoldRequest;
import com.amazonaws.services.s3.model.GetObjectLegalHoldResult;
import com.amazonaws.services.s3.model.GetObjectLockConfigurationRequest;
import com.amazonaws.services.s3.model.GetObjectLockConfigurationResult;
import com.amazonaws.services.s3.model.GetObjectMetadataRequest;
import com.amazonaws.services.s3.model.GetObjectRequest;
import com.amazonaws.services.s3.model.GetObjectRetentionRequest;
import com.amazonaws.services.s3.model.GetObjectRetentionResult;
import com.amazonaws.services.s3.model.GetObjectTaggingRequest;
import com.amazonaws.services.s3.model.GetObjectTaggingResult;
import com.amazonaws.services.s3.model.GetPublicAccessBlockRequest;
import com.amazonaws.services.s3.model.GetPublicAccessBlockResult;
import com.amazonaws.services.s3.model.GetS3AccountOwnerRequest;
import com.amazonaws.services.s3.model.HeadBucketRequest;
import com.amazonaws.services.s3.model.HeadBucketResult;
import com.amazonaws.services.s3.model.InitiateMultipartUploadRequest;
import com.amazonaws.services.s3.model.InitiateMultipartUploadResult;
import com.amazonaws.services.s3.model.ListBucketAnalyticsConfigurationsRequest;
import com.amazonaws.services.s3.model.ListBucketAnalyticsConfigurationsResult;
import com.amazonaws.services.s3.model.ListBucketIntelligentTieringConfigurationsRequest;
import com.amazonaws.services.s3.model.ListBucketIntelligentTieringConfigurationsResult;
import com.amazonaws.services.s3.model.ListBucketInventoryConfigurationsRequest;
import com.amazonaws.services.s3.model.ListBucketInventoryConfigurationsResult;
import com.amazonaws.services.s3.model.ListBucketMetricsConfigurationsRequest;
import com.amazonaws.services.s3.model.ListBucketMetricsConfigurationsResult;
import com.amazonaws.services.s3.model.ListBucketsRequest;
import com.amazonaws.services.s3.model.ListMultipartUploadsRequest;
import com.amazonaws.services.s3.model.ListNextBatchOfObjectsRequest;
import com.amazonaws.services.s3.model.ListNextBatchOfVersionsRequest;
import com.amazonaws.services.s3.model.ListObjectsRequest;
import com.amazonaws.services.s3.model.ListObjectsV2Request;
import com.amazonaws.services.s3.model.ListObjectsV2Result;
import com.amazonaws.services.s3.model.ListPartsRequest;
import com.amazonaws.services.s3.model.ListVersionsRequest;
import com.amazonaws.services.s3.model.MultipartUploadListing;
import com.amazonaws.services.s3.model.ObjectListing;
import com.amazonaws.services.s3.model.ObjectMetadata;
import com.amazonaws.services.s3.model.Owner;
import com.amazonaws.services.s3.model.PartListing;
import com.amazonaws.services.s3.model.PresignedUrlDownloadRequest;
import com.amazonaws.services.s3.model.PresignedUrlDownloadResult;
import com.amazonaws.services.s3.model.PresignedUrlUploadRequest;
import com.amazonaws.services.s3.model.PresignedUrlUploadResult;
import com.amazonaws.services.s3.model.PutObjectRequest;
import com.amazonaws.services.s3.model.PutObjectResult;
import com.amazonaws.services.s3.model.RestoreObjectRequest;
import com.amazonaws.services.s3.model.RestoreObjectResult;
import com.amazonaws.services.s3.model.S3Object;
import com.amazonaws.services.s3.model.SelectObjectContentRequest;
import com.amazonaws.services.s3.model.SelectObjectContentResult;
import com.amazonaws.services.s3.model.SetBucketAccelerateConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketAclRequest;
import com.amazonaws.services.s3.model.SetBucketAnalyticsConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketAnalyticsConfigurationResult;
import com.amazonaws.services.s3.model.SetBucketCrossOriginConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketEncryptionRequest;
import com.amazonaws.services.s3.model.SetBucketEncryptionResult;
import com.amazonaws.services.s3.model.SetBucketIntelligentTieringConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketIntelligentTieringConfigurationResult;
import com.amazonaws.services.s3.model.SetBucketInventoryConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketInventoryConfigurationResult;
import com.amazonaws.services.s3.model.SetBucketLifecycleConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketLoggingConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketMetricsConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketMetricsConfigurationResult;
import com.amazonaws.services.s3.model.SetBucketNotificationConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketPolicyRequest;
import com.amazonaws.services.s3.model.SetBucketReplicationConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketTaggingConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketVersioningConfigurationRequest;
import com.amazonaws.services.s3.model.SetBucketWebsiteConfigurationRequest;
import com.amazonaws.services.s3.model.SetObjectAclRequest;
import com.amazonaws.services.s3.model.SetObjectLegalHoldRequest;
import com.amazonaws.services.s3.model.SetObjectLegalHoldResult;
import com.amazonaws.services.s3.model.SetObjectLockConfigurationRequest;
import com.amazonaws.services.s3.model.SetObjectLockConfigurationResult;
import com.amazonaws.services.s3.model.SetObjectRetentionRequest;
import com.amazonaws.services.s3.model.SetObjectRetentionResult;
import com.amazonaws.services.s3.model.SetObjectTaggingRequest;
import com.amazonaws.services.s3.model.SetObjectTaggingResult;
import com.amazonaws.services.s3.model.SetPublicAccessBlockRequest;
import com.amazonaws.services.s3.model.SetPublicAccessBlockResult;
import com.amazonaws.services.s3.model.StorageClass;
import com.amazonaws.services.s3.model.UploadPartRequest;
import com.amazonaws.services.s3.model.UploadPartResult;
import com.amazonaws.services.s3.model.VersionListing;
import com.amazonaws.services.s3.model.analytics.AnalyticsConfiguration;
import com.amazonaws.services.s3.model.intelligenttiering.IntelligentTieringConfiguration;
import com.amazonaws.services.s3.model.inventory.InventoryConfiguration;
import com.amazonaws.services.s3.model.metrics.MetricsConfiguration;
import com.amazonaws.services.s3.waiters.AmazonS3Waiters;
/**
* An Abstract class that users needs to extend instead of {@link AmazonS3}
* interface. This abstract class is provided so we don't break any customers
* when we introduce new methods in {@link AmazonS3} interface.
*/
public abstract class AbstractAmazonS3 implements AmazonS3 {
@Override
public void setEndpoint(String endpoint) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setRegion(Region region) throws IllegalArgumentException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setS3ClientOptions(S3ClientOptions clientOptions) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void changeObjectStorageClass(String bucketName, String key,
StorageClass newStorageClass) throws SdkClientException,
AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setObjectRedirectLocation(String bucketName, String key,
String newRedirectLocation) throws SdkClientException,
AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ObjectListing listObjects(String bucketName)
throws SdkClientException, AmazonServiceException {
return listObjects(new ListObjectsRequest(bucketName, null, null, null, null));
}
@Override
public ObjectListing listObjects(String bucketName, String prefix)
throws SdkClientException, AmazonServiceException {
return listObjects(new ListObjectsRequest(bucketName, prefix, null, null, null));
}
@Override
public ObjectListing listObjects(ListObjectsRequest listObjectsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListObjectsV2Result listObjectsV2(String bucketName)
throws SdkClientException, AmazonServiceException {
ListObjectsV2Request request = new ListObjectsV2Request();
request.setBucketName(bucketName);
return listObjectsV2(request);
}
@Override
public ListObjectsV2Result listObjectsV2(String bucketName, String prefix)
throws SdkClientException, AmazonServiceException {
ListObjectsV2Request request = new ListObjectsV2Request();
request.setBucketName(bucketName);
request.setPrefix(prefix);
return listObjectsV2(request);
}
@Override
public ListObjectsV2Result listObjectsV2(ListObjectsV2Request listObjectsV2Request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ObjectListing listNextBatchOfObjects(
ObjectListing previousObjectListing) throws SdkClientException,
AmazonServiceException {
return listNextBatchOfObjects(new ListNextBatchOfObjectsRequest(previousObjectListing));
}
@Override
public ObjectListing listNextBatchOfObjects(
ListNextBatchOfObjectsRequest listNextBatchOfObjectsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public VersionListing listVersions(String bucketName, String prefix)
throws SdkClientException, AmazonServiceException {
return listVersions(new ListVersionsRequest(bucketName, prefix, null, null, null, null));
}
@Override
public VersionListing listVersions(String bucketName, String prefix,
String keyMarker, String versionIdMarker, String delimiter,
Integer maxResults) throws SdkClientException,
AmazonServiceException {
ListVersionsRequest request = new ListVersionsRequest()
.withBucketName(bucketName)
.withPrefix(prefix)
.withDelimiter(delimiter)
.withKeyMarker(keyMarker)
.withVersionIdMarker(versionIdMarker)
.withMaxResults(maxResults);
return listVersions(request);
}
@Override
public VersionListing listVersions(ListVersionsRequest listVersionsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public VersionListing listNextBatchOfVersions(
VersionListing previousVersionListing)
throws SdkClientException, AmazonServiceException {
return listNextBatchOfVersions(new ListNextBatchOfVersionsRequest(previousVersionListing));
}
@Override
public VersionListing listNextBatchOfVersions(
ListNextBatchOfVersionsRequest listNextBatchOfVersionsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public Owner getS3AccountOwner() throws SdkClientException,
AmazonServiceException {
return getS3AccountOwner(new GetS3AccountOwnerRequest());
}
@Override
public Owner getS3AccountOwner(GetS3AccountOwnerRequest getS3AccountOwnerRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public boolean doesBucketExist(String bucketName)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public boolean doesBucketExistV2(String bucketName)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public HeadBucketResult headBucket(HeadBucketRequest headBucketRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public List listBuckets() throws SdkClientException,
AmazonServiceException {
return listBuckets(new ListBucketsRequest());
}
@Override
public List listBuckets(ListBucketsRequest listBucketsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListBucketsPaginatedResult listBuckets(ListBucketsPaginatedRequest listBucketsRequest)
throws SdkClientException, AmazonServiceException{
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public String getBucketLocation(String bucketName)
throws SdkClientException, AmazonServiceException {
return getBucketLocation(new GetBucketLocationRequest(bucketName));
}
@Override
public String getBucketLocation(
GetBucketLocationRequest getBucketLocationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public Bucket createBucket(CreateBucketRequest createBucketRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public Bucket createBucket(String bucketName) throws SdkClientException,
AmazonServiceException {
return createBucket(new CreateBucketRequest(bucketName));
}
@Override
public Bucket createBucket(String bucketName,
com.amazonaws.services.s3.model.Region region)
throws SdkClientException, AmazonServiceException {
return createBucket(new CreateBucketRequest(bucketName, region));
}
@Override
public Bucket createBucket(String bucketName, String region)
throws SdkClientException, AmazonServiceException {
return createBucket(new CreateBucketRequest(bucketName, region));
}
@Override
public AccessControlList getObjectAcl(String bucketName, String key)
throws SdkClientException, AmazonServiceException {
return getObjectAcl(new GetObjectAclRequest(bucketName, key));
}
@Override
public AccessControlList getObjectAcl(String bucketName, String key,
String versionId) throws SdkClientException,
AmazonServiceException {
return getObjectAcl(new GetObjectAclRequest(bucketName, key, versionId));
}
@Override
public AccessControlList getObjectAcl(GetObjectAclRequest getObjectAclRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setObjectAcl(String bucketName, String key,
AccessControlList acl) throws SdkClientException,
AmazonServiceException {
setObjectAcl(bucketName, key, null, acl);
}
@Override
public void setObjectAcl(String bucketName, String key,
CannedAccessControlList acl) throws SdkClientException,
AmazonServiceException {
setObjectAcl(bucketName, key, null, acl);
}
@Override
public void setObjectAcl(String bucketName, String key, String versionId,
AccessControlList acl) throws SdkClientException,
AmazonServiceException {
setObjectAcl(new SetObjectAclRequest(bucketName, key, versionId, acl));
}
@Override
public void setObjectAcl(String bucketName, String key, String versionId,
CannedAccessControlList acl) throws SdkClientException,
AmazonServiceException {
setObjectAcl(new SetObjectAclRequest(bucketName, key, versionId, acl));
}
@Override
public void setObjectAcl(SetObjectAclRequest setObjectAclRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public AccessControlList getBucketAcl(String bucketName)
throws SdkClientException, AmazonServiceException {
return getBucketAcl(new GetBucketAclRequest(bucketName));
}
@Override
public AccessControlList getBucketAcl(
GetBucketAclRequest getBucketAclRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketAcl(String bucketName, AccessControlList acl)
throws SdkClientException, AmazonServiceException {
setBucketAcl(new SetBucketAclRequest(bucketName, acl));
}
@Override
public void setBucketAcl(String bucketName, CannedAccessControlList cannedAcl)
throws SdkClientException, AmazonServiceException {
setBucketAcl(new SetBucketAclRequest(bucketName, cannedAcl));
}
@Override
public void setBucketAcl(SetBucketAclRequest setBucketAclRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ObjectMetadata getObjectMetadata(String bucketName, String key)
throws SdkClientException, AmazonServiceException {
return getObjectMetadata(new GetObjectMetadataRequest(bucketName, key));
}
@Override
public ObjectMetadata getObjectMetadata(
GetObjectMetadataRequest getObjectMetadataRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public S3Object getObject(String bucketName, String key)
throws SdkClientException, AmazonServiceException {
return getObject(new GetObjectRequest(bucketName, key));
}
@Override
public S3Object getObject(GetObjectRequest getObjectRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ObjectMetadata getObject(GetObjectRequest getObjectRequest,
File destinationFile) throws SdkClientException,
AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public String getObjectAsString(String bucketName, String key)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetObjectTaggingResult getObjectTagging(GetObjectTaggingRequest objectTaggingRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetObjectTaggingResult setObjectTagging(SetObjectTaggingRequest setObjectTaggingRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteObjectTaggingResult deleteObjectTagging(DeleteObjectTaggingRequest deleteObjectTaggingRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucket(String bucketName) throws SdkClientException,
AmazonServiceException {
deleteBucket(new DeleteBucketRequest(bucketName));
}
@Override
public void deleteBucket(DeleteBucketRequest deleteBucketRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public PutObjectResult putObject(String bucketName, String key, File file)
throws SdkClientException, AmazonServiceException {
return putObject(new PutObjectRequest(bucketName, key, file)
.withMetadata(new ObjectMetadata()));
}
@Override
public PutObjectResult putObject(String bucketName, String key,
InputStream input, ObjectMetadata metadata)
throws SdkClientException, AmazonServiceException {
return putObject(new PutObjectRequest(bucketName, key, input, metadata));
}
@Override
public PutObjectResult putObject(PutObjectRequest putObjectRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public PutObjectResult putObject(String bucketName, String key, String content)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public CopyObjectResult copyObject(String sourceBucketName,
String sourceKey, String destinationBucketName,
String destinationKey) throws SdkClientException,
AmazonServiceException {
return copyObject(new CopyObjectRequest(sourceBucketName, sourceKey,
destinationBucketName, destinationKey));
}
@Override
public CopyObjectResult copyObject(CopyObjectRequest copyObjectRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public CopyPartResult copyPart(CopyPartRequest copyPartRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteObject(String bucketName, String key)
throws SdkClientException, AmazonServiceException {
deleteObject(new DeleteObjectRequest(bucketName, key));
}
@Override
public void deleteObject(DeleteObjectRequest deleteObjectRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteObjectsResult deleteObjects(
DeleteObjectsRequest deleteObjectsRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteVersion(String bucketName, String key, String versionId)
throws SdkClientException, AmazonServiceException {
deleteVersion(new DeleteVersionRequest(bucketName, key, versionId));
}
@Override
public void deleteVersion(DeleteVersionRequest deleteVersionRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketLoggingConfiguration getBucketLoggingConfiguration(
String bucketName) throws SdkClientException,
AmazonServiceException {
return getBucketLoggingConfiguration(new GetBucketLoggingConfigurationRequest(bucketName));
}
@Override
public BucketLoggingConfiguration getBucketLoggingConfiguration(
GetBucketLoggingConfigurationRequest getBucketLoggingConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketLoggingConfiguration(
SetBucketLoggingConfigurationRequest setBucketLoggingConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketVersioningConfiguration getBucketVersioningConfiguration(
String bucketName) throws SdkClientException,
AmazonServiceException {
return getBucketVersioningConfiguration(new GetBucketVersioningConfigurationRequest(bucketName));
}
@Override
public BucketVersioningConfiguration getBucketVersioningConfiguration(
GetBucketVersioningConfigurationRequest getBucketVersioningConfigurationRequest) throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketVersioningConfiguration(
SetBucketVersioningConfigurationRequest setBucketVersioningConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketLifecycleConfiguration getBucketLifecycleConfiguration(
String bucketName) {
return getBucketLifecycleConfiguration(new GetBucketLifecycleConfigurationRequest(bucketName));
}
@Override
public BucketLifecycleConfiguration getBucketLifecycleConfiguration(GetBucketLifecycleConfigurationRequest getBucketLifecycleConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketLifecycleConfiguration(String bucketName,
BucketLifecycleConfiguration bucketLifecycleConfiguration) {
setBucketLifecycleConfiguration(new SetBucketLifecycleConfigurationRequest(bucketName, bucketLifecycleConfiguration));
}
@Override
public void setBucketLifecycleConfiguration(
SetBucketLifecycleConfigurationRequest setBucketLifecycleConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketLifecycleConfiguration(String bucketName) {
deleteBucketLifecycleConfiguration(new DeleteBucketLifecycleConfigurationRequest(bucketName));
}
@Override
public void deleteBucketLifecycleConfiguration(
DeleteBucketLifecycleConfigurationRequest deleteBucketLifecycleConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketCrossOriginConfiguration getBucketCrossOriginConfiguration(
String bucketName) {
return getBucketCrossOriginConfiguration(new GetBucketCrossOriginConfigurationRequest(bucketName));
}
@Override
public BucketCrossOriginConfiguration getBucketCrossOriginConfiguration(
GetBucketCrossOriginConfigurationRequest getBucketCrossOriginConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketCrossOriginConfiguration(String bucketName,
BucketCrossOriginConfiguration bucketCrossOriginConfiguration) {
setBucketCrossOriginConfiguration(new SetBucketCrossOriginConfigurationRequest(bucketName, bucketCrossOriginConfiguration));
}
@Override
public void setBucketCrossOriginConfiguration(
SetBucketCrossOriginConfigurationRequest setBucketCrossOriginConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketCrossOriginConfiguration(String bucketName) {
deleteBucketCrossOriginConfiguration(new DeleteBucketCrossOriginConfigurationRequest(bucketName));
}
@Override
public void deleteBucketCrossOriginConfiguration(
DeleteBucketCrossOriginConfigurationRequest deleteBucketCrossOriginConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketTaggingConfiguration getBucketTaggingConfiguration(
String bucketName) {
return getBucketTaggingConfiguration(new GetBucketTaggingConfigurationRequest(bucketName));
}
@Override
public BucketTaggingConfiguration getBucketTaggingConfiguration(
GetBucketTaggingConfigurationRequest getBucketTaggingConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketTaggingConfiguration(String bucketName,
BucketTaggingConfiguration bucketTaggingConfiguration) {
setBucketTaggingConfiguration(new SetBucketTaggingConfigurationRequest(bucketName, bucketTaggingConfiguration));
}
@Override
public void setBucketTaggingConfiguration(
SetBucketTaggingConfigurationRequest setBucketTaggingConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketTaggingConfiguration(String bucketName) {
deleteBucketTaggingConfiguration(new DeleteBucketTaggingConfigurationRequest(bucketName));
}
@Override
public void deleteBucketTaggingConfiguration(
DeleteBucketTaggingConfigurationRequest deleteBucketTaggingConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketNotificationConfiguration getBucketNotificationConfiguration(
String bucketName) throws SdkClientException,
AmazonServiceException {
return getBucketNotificationConfiguration(new GetBucketNotificationConfigurationRequest(bucketName));
}
@Override
public BucketNotificationConfiguration getBucketNotificationConfiguration(
GetBucketNotificationConfigurationRequest getBucketNotificationConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketNotificationConfiguration(String bucketName,
BucketNotificationConfiguration bucketNotificationConfiguration)
throws SdkClientException, AmazonServiceException {
setBucketNotificationConfiguration(new SetBucketNotificationConfigurationRequest(bucketName, bucketNotificationConfiguration));
}
@Override
public void setBucketNotificationConfiguration(
SetBucketNotificationConfigurationRequest setBucketNotificationConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketWebsiteConfiguration getBucketWebsiteConfiguration(
String bucketName) throws SdkClientException,
AmazonServiceException {
return getBucketWebsiteConfiguration(new GetBucketWebsiteConfigurationRequest(bucketName));
}
@Override
public BucketWebsiteConfiguration getBucketWebsiteConfiguration(
GetBucketWebsiteConfigurationRequest getBucketWebsiteConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketWebsiteConfiguration(String bucketName,
BucketWebsiteConfiguration configuration)
throws SdkClientException, AmazonServiceException {
setBucketWebsiteConfiguration(new SetBucketWebsiteConfigurationRequest(bucketName, configuration));
}
@Override
public void setBucketWebsiteConfiguration(
SetBucketWebsiteConfigurationRequest setBucketWebsiteConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketWebsiteConfiguration(String bucketName)
throws SdkClientException, AmazonServiceException {
deleteBucketWebsiteConfiguration(new DeleteBucketWebsiteConfigurationRequest(bucketName));
}
@Override
public void deleteBucketWebsiteConfiguration(
DeleteBucketWebsiteConfigurationRequest deleteBucketWebsiteConfigurationRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketPolicy getBucketPolicy(String bucketName)
throws SdkClientException, AmazonServiceException {
return getBucketPolicy(new GetBucketPolicyRequest(bucketName));
}
@Override
public BucketPolicy getBucketPolicy(
GetBucketPolicyRequest getBucketPolicyRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketPolicy(String bucketName, String policyText)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketPolicy(SetBucketPolicyRequest setBucketPolicyRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketPolicy(String bucketName)
throws SdkClientException, AmazonServiceException {
deleteBucketPolicy(new DeleteBucketPolicyRequest(bucketName));
}
@Override
public void deleteBucketPolicy(
DeleteBucketPolicyRequest deleteBucketPolicyRequest)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public URL generatePresignedUrl(String bucketName, String key,
Date expiration) throws SdkClientException {
return generatePresignedUrl(bucketName, key, expiration, HttpMethod.GET);
}
@Override
public URL generatePresignedUrl(String bucketName, String key,
Date expiration, HttpMethod method) throws SdkClientException {
GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucketName, key, method);
request.setExpiration(expiration);
return generatePresignedUrl(request);
}
@Override
public URL generatePresignedUrl(
GeneratePresignedUrlRequest generatePresignedUrlRequest)
throws SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public InitiateMultipartUploadResult initiateMultipartUpload(
InitiateMultipartUploadRequest request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public UploadPartResult uploadPart(UploadPartRequest request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public PartListing listParts(ListPartsRequest request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void abortMultipartUpload(AbortMultipartUploadRequest request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public CompleteMultipartUploadResult completeMultipartUpload(
CompleteMultipartUploadRequest request)
throws SdkClientException, AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public MultipartUploadListing listMultipartUploads(
ListMultipartUploadsRequest request) throws SdkClientException,
AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public S3ResponseMetadata getCachedResponseMetadata(
AmazonWebServiceRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void restoreObject(String bucketName, String key,
int expirationInDays) throws AmazonServiceException {
restoreObject(new RestoreObjectRequest(bucketName, key, expirationInDays));
}
@Override
public void restoreObject(RestoreObjectRequest request)
throws AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public RestoreObjectResult restoreObjectV2(RestoreObjectRequest request)
throws AmazonServiceException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void enableRequesterPays(String bucketName)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void disableRequesterPays(String bucketName)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public boolean isRequesterPaysEnabled(String bucketName)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setRequestPaymentConfiguration(SetRequestPaymentConfigurationRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketReplicationConfiguration(String bucketName,
BucketReplicationConfiguration configuration)
throws AmazonServiceException, SdkClientException {
setBucketReplicationConfiguration(new SetBucketReplicationConfigurationRequest(
bucketName, configuration));
}
@Override
public void setBucketReplicationConfiguration(
SetBucketReplicationConfigurationRequest setBucketReplicationConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketReplicationConfiguration getBucketReplicationConfiguration(
String bucketName) throws AmazonServiceException,
SdkClientException {
return getBucketReplicationConfiguration(new GetBucketReplicationConfigurationRequest(bucketName));
}
@Override
public BucketReplicationConfiguration getBucketReplicationConfiguration(
GetBucketReplicationConfigurationRequest getBucketReplicationConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void deleteBucketReplicationConfiguration(String bucketName)
throws AmazonServiceException, SdkClientException {
deleteBucketReplicationConfiguration(new
DeleteBucketReplicationConfigurationRequest(bucketName));
}
@Override
public void deleteBucketReplicationConfiguration(DeleteBucketReplicationConfigurationRequest request)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public boolean doesObjectExist(String bucketName, String objectName)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public BucketAccelerateConfiguration getBucketAccelerateConfiguration(
String bucketName) throws AmazonServiceException,
SdkClientException {
return getBucketAccelerateConfiguration(new GetBucketAccelerateConfigurationRequest(
bucketName));
}
@Override
public BucketAccelerateConfiguration getBucketAccelerateConfiguration(
GetBucketAccelerateConfigurationRequest getBucketAccelerateConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException(
"Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void setBucketAccelerateConfiguration(String bucketName,
BucketAccelerateConfiguration accelerateConfiguration)
throws AmazonServiceException, SdkClientException {
setBucketAccelerateConfiguration(new SetBucketAccelerateConfigurationRequest(
bucketName, accelerateConfiguration));
}
@Override
public void setBucketAccelerateConfiguration(
SetBucketAccelerateConfigurationRequest setBucketAccelerateConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException(
"Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketMetricsConfigurationResult deleteBucketMetricsConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return deleteBucketMetricsConfiguration(new DeleteBucketMetricsConfigurationRequest(bucketName, id));
}
@Override
public DeleteBucketMetricsConfigurationResult deleteBucketMetricsConfiguration(
DeleteBucketMetricsConfigurationRequest deleteBucketMetricsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketMetricsConfigurationResult getBucketMetricsConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return getBucketMetricsConfiguration(new GetBucketMetricsConfigurationRequest(bucketName, id));
}
@Override
public GetBucketMetricsConfigurationResult getBucketMetricsConfiguration(
GetBucketMetricsConfigurationRequest getBucketMetricsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
public SetBucketMetricsConfigurationResult setBucketMetricsConfiguration(
String bucketName, MetricsConfiguration metricsConfiguration)
throws AmazonServiceException, SdkClientException {
return setBucketMetricsConfiguration(new SetBucketMetricsConfigurationRequest(bucketName, metricsConfiguration));
}
@Override
public SetBucketMetricsConfigurationResult setBucketMetricsConfiguration(SetBucketMetricsConfigurationRequest setBucketMetricsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListBucketMetricsConfigurationsResult listBucketMetricsConfigurations(
ListBucketMetricsConfigurationsRequest listBucketMetricsConfigurationsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketAnalyticsConfigurationResult deleteBucketAnalyticsConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return deleteBucketAnalyticsConfiguration(new DeleteBucketAnalyticsConfigurationRequest(bucketName, id));
}
@Override
public DeleteBucketAnalyticsConfigurationResult deleteBucketAnalyticsConfiguration(
DeleteBucketAnalyticsConfigurationRequest deleteBucketAnalyticsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketAnalyticsConfigurationResult getBucketAnalyticsConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return getBucketAnalyticsConfiguration(new GetBucketAnalyticsConfigurationRequest(bucketName, id));
}
@Override
public GetBucketAnalyticsConfigurationResult getBucketAnalyticsConfiguration(
GetBucketAnalyticsConfigurationRequest getBucketAnalyticsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketAnalyticsConfigurationResult setBucketAnalyticsConfiguration(
String bucketName, AnalyticsConfiguration analyticsConfiguration)
throws AmazonServiceException, SdkClientException {
return setBucketAnalyticsConfiguration(
new SetBucketAnalyticsConfigurationRequest(bucketName, analyticsConfiguration));
}
@Override
public SetBucketAnalyticsConfigurationResult setBucketAnalyticsConfiguration(
SetBucketAnalyticsConfigurationRequest setBucketAnalyticsConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListBucketAnalyticsConfigurationsResult listBucketAnalyticsConfigurations(
ListBucketAnalyticsConfigurationsRequest listBucketAnalyticsConfigurationsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketIntelligentTieringConfigurationResult deleteBucketIntelligentTieringConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return deleteBucketIntelligentTieringConfiguration(new DeleteBucketIntelligentTieringConfigurationRequest(bucketName, id));
}
@Override
public DeleteBucketIntelligentTieringConfigurationResult deleteBucketIntelligentTieringConfiguration(
DeleteBucketIntelligentTieringConfigurationRequest deleteBucketIntelligentTieringConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketIntelligentTieringConfigurationResult getBucketIntelligentTieringConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return getBucketIntelligentTieringConfiguration(new GetBucketIntelligentTieringConfigurationRequest(bucketName, id));
}
@Override
public GetBucketIntelligentTieringConfigurationResult getBucketIntelligentTieringConfiguration(
GetBucketIntelligentTieringConfigurationRequest getBucketIntelligentTieringConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketIntelligentTieringConfigurationResult setBucketIntelligentTieringConfiguration(
String bucketName, IntelligentTieringConfiguration intelligentTieringConfiguration)
throws AmazonServiceException, SdkClientException {
return setBucketIntelligentTieringConfiguration(
new SetBucketIntelligentTieringConfigurationRequest(bucketName, intelligentTieringConfiguration));
}
@Override
public SetBucketIntelligentTieringConfigurationResult setBucketIntelligentTieringConfiguration(
SetBucketIntelligentTieringConfigurationRequest setBucketIntelligentTieringConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListBucketIntelligentTieringConfigurationsResult listBucketIntelligentTieringConfigurations(
ListBucketIntelligentTieringConfigurationsRequest listBucketIntelligentTieringConfigurationsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketInventoryConfigurationResult deleteBucketInventoryConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return deleteBucketInventoryConfiguration(
new DeleteBucketInventoryConfigurationRequest(bucketName, id));
}
@Override
public DeleteBucketInventoryConfigurationResult deleteBucketInventoryConfiguration(
DeleteBucketInventoryConfigurationRequest deleteBucketInventoryConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketInventoryConfigurationResult getBucketInventoryConfiguration(
String bucketName, String id) throws AmazonServiceException, SdkClientException {
return getBucketInventoryConfiguration(
new GetBucketInventoryConfigurationRequest(bucketName, id));
}
@Override
public GetBucketInventoryConfigurationResult getBucketInventoryConfiguration(
GetBucketInventoryConfigurationRequest getBucketInventoryConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketInventoryConfigurationResult setBucketInventoryConfiguration(
String bucketName, InventoryConfiguration inventoryConfiguration)
throws AmazonServiceException, SdkClientException {
return setBucketInventoryConfiguration(
new SetBucketInventoryConfigurationRequest(bucketName, inventoryConfiguration));
}
@Override
public SetBucketInventoryConfigurationResult setBucketInventoryConfiguration(
SetBucketInventoryConfigurationRequest setBucketInventoryConfigurationRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public ListBucketInventoryConfigurationsResult listBucketInventoryConfigurations(
ListBucketInventoryConfigurationsRequest listBucketInventoryConfigurationsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketEncryptionResult deleteBucketEncryption(String bucketName) throws SdkClientException {
return deleteBucketEncryption(new DeleteBucketEncryptionRequest().withBucketName(bucketName));
}
@Override
public DeleteBucketEncryptionResult deleteBucketEncryption(DeleteBucketEncryptionRequest request) throws SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketEncryptionResult getBucketEncryption(String bucketName) throws SdkClientException {
return getBucketEncryption(new GetBucketEncryptionRequest().withBucketName(bucketName));
}
@Override
public GetBucketEncryptionResult getBucketEncryption(GetBucketEncryptionRequest request) throws SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketEncryptionResult setBucketEncryption(SetBucketEncryptionRequest request) throws SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetPublicAccessBlockResult setPublicAccessBlock(SetPublicAccessBlockRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetPublicAccessBlockResult getPublicAccessBlock(GetPublicAccessBlockRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeletePublicAccessBlockResult deletePublicAccessBlock(DeletePublicAccessBlockRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketPolicyStatusResult getBucketPolicyStatus(GetBucketPolicyStatusRequest request) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SelectObjectContentResult selectObjectContent(SelectObjectContentRequest selectRequest) throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetObjectLegalHoldResult setObjectLegalHold(SetObjectLegalHoldRequest setObjectLegalHoldRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetObjectLegalHoldResult getObjectLegalHold(GetObjectLegalHoldRequest getObjectLegalHoldRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetObjectLockConfigurationResult setObjectLockConfiguration(SetObjectLockConfigurationRequest setObjectLockConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetObjectLockConfigurationResult getObjectLockConfiguration(GetObjectLockConfigurationRequest getObjectLockConfigurationRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetObjectRetentionResult setObjectRetention(SetObjectRetentionRequest setObjectRetentionRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetObjectRetentionResult getObjectRetention(GetObjectRetentionRequest getObjectRetentionRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public WriteGetObjectResponseResult writeGetObjectResponse(WriteGetObjectResponseRequest writeGetObjectResponseRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public PresignedUrlDownloadResult download(PresignedUrlDownloadRequest presignedUrlDownloadRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void download(PresignedUrlDownloadRequest presignedUrlDownloadRequest, File destinationFile) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public PresignedUrlUploadResult upload(PresignedUrlUploadRequest presignedUrlUploadRequest) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public void shutdown() {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public com.amazonaws.services.s3.model.Region getRegion() {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public String getRegionName() {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public URL getUrl(String bucketName, String key) {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public AmazonS3Waiters waiters() {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public DeleteBucketOwnershipControlsResult deleteBucketOwnershipControls(DeleteBucketOwnershipControlsRequest deleteBucketOwnershipControlsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public GetBucketOwnershipControlsResult getBucketOwnershipControls(GetBucketOwnershipControlsRequest getBucketOwnershipControlsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketOwnershipControlsResult setBucketOwnershipControls(String bucketName, OwnershipControls ownershipControls)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
@Override
public SetBucketOwnershipControlsResult setBucketOwnershipControls(SetBucketOwnershipControlsRequest setBucketOwnershipControlsRequest)
throws AmazonServiceException, SdkClientException {
throw new UnsupportedOperationException("Extend AbstractAmazonS3 to provide an implementation");
}
}