All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ksyun.api.sdk.kec.model.DescribeInstanceVncRequest Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksyun.api.sdk.kec.model;

import java.io.Serializable;

import com.ksc.KscWebServiceRequest;
import com.ksc.Request;
import com.ksc.model.DryRunSupportedRequest;
import com.ksyun.api.sdk.kec.transform.DescribeInstanceVncRequestMarshaller;

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString
@EqualsAndHashCode(callSuper = false)
public class DescribeInstanceVncRequest extends KscWebServiceRequest
       implements Serializable, Cloneable, DryRunSupportedRequest{

	private static final long serialVersionUID = 1L;
	private String InstanceId;

	public DescribeInstanceVncRequest() {
	    initParam("com.ksc.kec.KSC%sClient", "", "kec", "2016-03-04",this.getClass());
    }
	
	@Override
	public Request getDryRunRequest() {
	    	
	    Request request = new DescribeInstanceVncRequestMarshaller().marshall(this);
	    request.addParameter("DryRun", Boolean.toString(true));
		return request;
	}
	
	public String getInstanceId() {
		return InstanceId;
	}

	public void setInstanceId(String instanceId) {
		InstanceId = instanceId;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy