
com.tencentcloudapi.eb.v20210416.models.UpdateConnectionRequest 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.eb.v20210416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class UpdateConnectionRequest extends AbstractModel{
/**
* 连接器ID
*/
@SerializedName("ConnectionId")
@Expose
private String ConnectionId;
/**
* 事件集ID
*/
@SerializedName("EventBusId")
@Expose
private String EventBusId;
/**
* 使能开关
*/
@SerializedName("Enable")
@Expose
private Boolean Enable;
/**
* 描述
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 连接器名称
*/
@SerializedName("ConnectionName")
@Expose
private String ConnectionName;
/**
* Get 连接器ID
* @return ConnectionId 连接器ID
*/
public String getConnectionId() {
return this.ConnectionId;
}
/**
* Set 连接器ID
* @param ConnectionId 连接器ID
*/
public void setConnectionId(String ConnectionId) {
this.ConnectionId = ConnectionId;
}
/**
* Get 事件集ID
* @return EventBusId 事件集ID
*/
public String getEventBusId() {
return this.EventBusId;
}
/**
* Set 事件集ID
* @param EventBusId 事件集ID
*/
public void setEventBusId(String EventBusId) {
this.EventBusId = EventBusId;
}
/**
* Get 使能开关
* @return Enable 使能开关
*/
public Boolean getEnable() {
return this.Enable;
}
/**
* Set 使能开关
* @param Enable 使能开关
*/
public void setEnable(Boolean Enable) {
this.Enable = Enable;
}
/**
* Get 描述
* @return Description 描述
*/
public String getDescription() {
return this.Description;
}
/**
* Set 描述
* @param Description 描述
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 连接器名称
* @return ConnectionName 连接器名称
*/
public String getConnectionName() {
return this.ConnectionName;
}
/**
* Set 连接器名称
* @param ConnectionName 连接器名称
*/
public void setConnectionName(String ConnectionName) {
this.ConnectionName = ConnectionName;
}
public UpdateConnectionRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public UpdateConnectionRequest(UpdateConnectionRequest source) {
if (source.ConnectionId != null) {
this.ConnectionId = new String(source.ConnectionId);
}
if (source.EventBusId != null) {
this.EventBusId = new String(source.EventBusId);
}
if (source.Enable != null) {
this.Enable = new Boolean(source.Enable);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.ConnectionName != null) {
this.ConnectionName = new String(source.ConnectionName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ConnectionId", this.ConnectionId);
this.setParamSimple(map, prefix + "EventBusId", this.EventBusId);
this.setParamSimple(map, prefix + "Enable", this.Enable);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "ConnectionName", this.ConnectionName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy