Modifier and Type | Class and Description |
---|---|
static class |
Quota.AffinityRuleItem.RuleMode |
Modifier and Type | Field and Description |
---|---|
List<Integer> |
priorityRange |
List<String> |
productIdList |
List<String> |
projectList |
Quota.AffinityRuleItem.RuleMode |
ruleMode |
Map<String,String> |
settings |
List<String> |
taskTypeList |
List<String> |
userList |
Constructor and Description |
---|
AffinityRuleItem() |
Modifier and Type | Method and Description |
---|---|
void |
addProductId(String prodId) |
void |
addProject(String project) |
void |
addSetting(String key,
String value) |
void |
addTaskType(String taskType) |
void |
addUser(String user) |
boolean |
removeProductId(String prodId) |
boolean |
removeProject(String project) |
String |
removeSetting(String key) |
boolean |
removeTaskType(String taskType) |
boolean |
removeUser(String user) |
void |
setPriorityRange(int low,
int high) |
@SerializedName(value="RuleMode") public Quota.AffinityRuleItem.RuleMode ruleMode
public void addUser(String user)
public boolean removeUser(String user)
public void addProject(String project)
public boolean removeProject(String project)
public void addTaskType(String taskType)
public boolean removeTaskType(String taskType)
public void addProductId(String prodId)
public boolean removeProductId(String prodId)
public void setPriorityRange(int low, int high)
Copyright © 2023 Alibaba Cloud Computing. All rights reserved.