All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.model.RenameRequest Maven / Gradle / Ivy

Go to download

A single bundled dependency that includes all service and dependent JARs with third-party libraries relocated to different namespaces.

There is a newer version: 5.6.228
Show newest version
package com.qcloud.cos.model;

import com.qcloud.cos.internal.CosServiceRequest;

import java.io.Serializable;

// this rename request only used in merge bucket
public class RenameRequest extends CosServiceRequest implements Serializable {
    // src object name
    private String srcObject;
    // dst object name
    private String dstObject;
    // bucket name
    private String bucketName;

    public RenameRequest(String bucketName, String srcObject, String dstObject) {
        this.bucketName = bucketName;
        this.srcObject = srcObject;
        this.dstObject = dstObject;
    }

    public String getSrcObject() {
        return srcObject;
    }

    public String getDstObject() {
        return dstObject;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setSrcObject(String srcObject) {
        this.srcObject = srcObject;
    }

    public void setDstObject(String dstObject) {
        this.dstObject = dstObject;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy