com.volcengine.model.imagex.v2.UpdateImageResourceStatusBody 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;
/**
* UpdateImageResourceStatusBody
*/
@lombok.Data
public final class UpdateImageResourceStatusBody {
/**
* 资源的封禁状态,取值如下所示:
*
*
*
* - `disable`:禁用。禁用状态,您无法访问该资源。
*
* - `enable`:启用。启用状态,您可正常访问该资源。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Status")
private String status;
/**
* 待修改封禁状态的资源存储 Key(不携带 Bucket 信息),可在控制台资源管理页面查看。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ObjectName")
private String objectName;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy