com.aliyun.dms_enterprise20181101.models.CreateAuthorityTemplateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms_enterprise20181101 Show documentation
Show all versions of dms_enterprise20181101 Show documentation
Alibaba Cloud dms-enterprise (20181101) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class CreateAuthorityTemplateRequest extends TeaModel {
/**
* The description of the permission template.
*
* example:
* This template is used for business testing.
*/
@NameInMap("Description")
public String description;
/**
* The name of the permission template.
* This parameter is required.
*
* example:
* Test template.
*/
@NameInMap("Name")
public String name;
/**
* The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID.
*
* example:
* 3***
*/
@NameInMap("Tid")
public Long tid;
public static CreateAuthorityTemplateRequest build(java.util.Map map) throws Exception {
CreateAuthorityTemplateRequest self = new CreateAuthorityTemplateRequest();
return TeaModel.build(map, self);
}
public CreateAuthorityTemplateRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateAuthorityTemplateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateAuthorityTemplateRequest setTid(Long tid) {
this.tid = tid;
return this;
}
public Long getTid() {
return this.tid;
}
}