com.volcengine.model.imagex.v2.GetVendorBucketsBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.imagex.v2;
import com.alibaba.fastjson.JSON;
/**
* GetVendorBucketsBody
*/
@lombok.Data
public final class GetVendorBucketsBody {
/**
* 服务商。取值如下所示:
*
*
*
* - `OSS`:阿里云
*
* - `COS`:腾讯云
*
* - `KODO`:七牛云
*
* - `BOS`:百度云
*
* - `OBS`:华为云
*
* - `Ucloud`:Ucloud file
*
* - `AWS`:AWS 国际站
*
* - `S3`:其他 S3 协议存储
*
* - `URL`:以上传 URL 列表的方式迁移
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Vendor")
private String vendor;
/**
* Bucket 所在地区。仅当`Vendor` 非 `URL/OSS/KODO/AWS` 时为必填。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Region")
private String region;
/**
* Access Key。是与 Secret Key 同时填写的,为了保证有访问源数据桶的权限。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AK")
private String aK;
/**
* Secret Key。是与 Access Key 同时填写的,为了保证有访问源数据桶的权限。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SK")
private String sK;
/**
* S3 协议 Endpoint,需以`http://`或`https://`开头。仅当`Vendor`为`S3`时必填。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Endpoint")
private String endpoint;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy