
com.tencentcloudapi.gse.v20191112.models.CreateAliasRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.gse.v20191112.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateAliasRequest extends AbstractModel{
/**
* 名字,长度不小于1字符不超过1024字符
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 别名的路由配置
*/
@SerializedName("RoutingStrategy")
@Expose
private RoutingStrategy RoutingStrategy;
/**
* 别名的可读说明,长度不小于1字符不超过1024字符
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 标签列表,最大长度50组
*/
@SerializedName("Tags")
@Expose
private Tag [] Tags;
/**
* Get 名字,长度不小于1字符不超过1024字符
* @return Name 名字,长度不小于1字符不超过1024字符
*/
public String getName() {
return this.Name;
}
/**
* Set 名字,长度不小于1字符不超过1024字符
* @param Name 名字,长度不小于1字符不超过1024字符
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 别名的路由配置
* @return RoutingStrategy 别名的路由配置
*/
public RoutingStrategy getRoutingStrategy() {
return this.RoutingStrategy;
}
/**
* Set 别名的路由配置
* @param RoutingStrategy 别名的路由配置
*/
public void setRoutingStrategy(RoutingStrategy RoutingStrategy) {
this.RoutingStrategy = RoutingStrategy;
}
/**
* Get 别名的可读说明,长度不小于1字符不超过1024字符
* @return Description 别名的可读说明,长度不小于1字符不超过1024字符
*/
public String getDescription() {
return this.Description;
}
/**
* Set 别名的可读说明,长度不小于1字符不超过1024字符
* @param Description 别名的可读说明,长度不小于1字符不超过1024字符
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 标签列表,最大长度50组
* @return Tags 标签列表,最大长度50组
*/
public Tag [] getTags() {
return this.Tags;
}
/**
* Set 标签列表,最大长度50组
* @param Tags 标签列表,最大长度50组
*/
public void setTags(Tag [] Tags) {
this.Tags = Tags;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamObj(map, prefix + "RoutingStrategy.", this.RoutingStrategy);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy