com.aliyuncs.vs.model.v20181212.BindTemplateRequest 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.vs.model.v20181212;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.vs.Endpoint;
/**
* @author auto create
* @version
*/
public class BindTemplateRequest extends RpcAcsRequest {
public BindTemplateRequest() {
super("vs", "2018-12-12", "BindTemplate", "vs");
try {
this.getClass().getDeclaredField("ProductEndpointMap").set(this, Endpoint.endpointMap);
this.getClass().getDeclaredField("ProductEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
private Boolean replace;
private String instanceType;
private Boolean applyAll;
private Long ownerId;
private String templateId;
private String instanceId;
public Boolean getReplace() {
return this.replace;
}
public void setReplace(Boolean replace) {
this.replace = replace;
if(replace != null){
putQueryParameter("Replace", replace.toString());
}
}
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}
public Boolean getApplyAll() {
return this.applyAll;
}
public void setApplyAll(Boolean applyAll) {
this.applyAll = applyAll;
if(applyAll != null){
putQueryParameter("ApplyAll", applyAll.toString());
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getTemplateId() {
return this.templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
if(templateId != null){
putQueryParameter("TemplateId", templateId);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
@Override
public Class getResponseClass() {
return BindTemplateResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy