com.volcengine.model.imagex.v2.UpdateImageMirrorConfBody 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;
import java.util.Map;
/**
* UpdateImageMirrorConfBody
*/
@lombok.Data
public final class UpdateImageMirrorConfBody {
/**
* 下载图片的协议,取值为:http、https。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Schema")
private String schema;
/**
* 镜像回源域名。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Host")
private String host;
/**
* 带权重回源域名。key 为 String 类型,代表镜像回源域名;value 为 Integer 类型,代表域名权重。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Hosts")
private Map hosts;
/**
* 镜像源 URI,其中图片名用 %s 占位符替代,比如/obj/%s。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Source")
private String source;
/**
* 镜像回源下载原图时,携带的 HTTP 头部,键值都为 String 类型。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Headers")
private Map headers;
/**
* 镜像站
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Origin")
private UpdateImageMirrorConfBodyOrigin origin;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy