com.aliyuncs.eflo.model.v20220530.CreateElasticNetworkInterfaceRequest Maven / Gradle / Ivy
/*
* 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.aliyuncs.eflo.model.v20220530;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateElasticNetworkInterfaceRequest extends RpcAcsRequest {
private String clientToken;
private String securityGroupId;
private String description;
private String nodeId;
private String vSwitchId;
private String vpcId;
private String zoneId;
public CreateElasticNetworkInterfaceRequest() {
super("eflo", "2022-05-30", "CreateElasticNetworkInterface", "eflo");
setMethod(MethodType.POST);
}
public String getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putBodyParameter("ClientToken", clientToken);
}
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public void setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
if(securityGroupId != null){
putBodyParameter("SecurityGroupId", securityGroupId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}
public String getNodeId() {
return this.nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
if(nodeId != null){
putBodyParameter("NodeId", nodeId);
}
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
if(vSwitchId != null){
putBodyParameter("VSwitchId", vSwitchId);
}
}
public String getVpcId() {
return this.vpcId;
}
public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putBodyParameter("VpcId", vpcId);
}
}
public String getZoneId() {
return this.zoneId;
}
public void setZoneId(String zoneId) {
this.zoneId = zoneId;
if(zoneId != null){
putBodyParameter("ZoneId", zoneId);
}
}
@Override
public Class getResponseClass() {
return CreateElasticNetworkInterfaceResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy