S3 storage class for the copy of the source object. By default the new object uses the same storage class as the source object.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public CopyObjectRequest WithStorageClass( S3StorageClass sClass )
Parameters
- sClass (S3StorageClass)
- The storage class to be set on the new object
Return Value
The request with the StorageClass set
Remarks
Set this property only if you want to change the storage
class of the destination object. Please refer
S3StorageClass for
information on S3 Storage Classes.