com.aliyun.ens20171110.models.DeleteObjectRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DeleteObjectRequest extends TeaModel {
/**
* The name of the bucket.
* This parameter is required.
*
* example:
* tets
*/
@NameInMap("BucketName")
public String bucketName;
/**
* The name of the file.
* This parameter is required.
*
* example:
* image5
*/
@NameInMap("ObjectKey")
public String objectKey;
public static DeleteObjectRequest build(java.util.Map map) throws Exception {
DeleteObjectRequest self = new DeleteObjectRequest();
return TeaModel.build(map, self);
}
public DeleteObjectRequest setBucketName(String bucketName) {
this.bucketName = bucketName;
return this;
}
public String getBucketName() {
return this.bucketName;
}
public DeleteObjectRequest setObjectKey(String objectKey) {
this.objectKey = objectKey;
return this;
}
public String getObjectKey() {
return this.objectKey;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy