public ReplicationDestinationConfig withStorageClass(StorageClass storageClass) {
        setStorageClass(storageClass == null ? (String)null : storageClass.toString());
        return this;
    }
Sets the storage class for the replication destination. If not specified,
Amazon S3 uses the storage class of the source object to create object replica.
Returns the updated object.

@return the updated {@link ReplicationDestinationConfig} object
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/ReplicationDestinationConfig.java