
com.alicloud.openservices.tablestore.model.RequestExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tablestore Show documentation
Show all versions of tablestore Show documentation
Aliyun Open Services SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有
(C)阿里云计算有限公司 http://www.aliyun.com
package com.alicloud.openservices.tablestore.model;
public class RequestExtension {
private Priority priority;
private String tag;
public void setPriority(Priority priority) {this.priority = priority;}
public void setTag(String tag) {
if (!tag.matches("\\A\\p{ASCII}*\\z")) {
throw new IllegalArgumentException("Only support ASCII: " + tag);
} else {
if (tag.getBytes().length > 16) {
String t = new String(tag.getBytes(), 0, 16);
this.tag = t;
} else {
this.tag = tag;
}
}
}
public Priority getPriority() {return priority;}
public String getTag() {return tag;}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy