com.qcloud.cos.model.AppendObjectRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.model;
import java.io.File;
import java.io.InputStream;
public class AppendObjectRequest extends PutObjectRequest {
private Long position;
public AppendObjectRequest(String bucketName, String key, File file) {
super(bucketName, key, file);
}
public AppendObjectRequest(String bucketName, String key, InputStream input) {
this(bucketName, key, input, null);
}
public AppendObjectRequest(String bucketName, String key, InputStream input, ObjectMetadata metadata) {
super(bucketName, key, input, metadata);
}
public Long getPosition() {
return position;
}
public void setPosition(Long position) {
this.position = position;
}
public AppendObjectRequest withPosition(Long position) {
setPosition(position);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy