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

com.ksyun.api.sdk.kec.model.ModifyInstanceImageRequest 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.ModifyInstanceImageRequestMarshaller;

import lombok.EqualsAndHashCode;
import lombok.ToString;

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

	private static final long serialVersionUID = 1L;
	private String InstanceId;
	private String ImageId;
	private String InstancePassword;
	
	public ModifyInstanceImageRequest() {
	    initParam("com.ksc.kec.KSC%sClient", "", "kec", "2016-03-04",this.getClass());
    }
	
	@Override
	public Request getDryRunRequest() {
	    	
	    Request request = new ModifyInstanceImageRequestMarshaller().marshall(this);
	    request.addParameter("DryRun", Boolean.toString(true));
		return request;
	}
	public String getInstanceId() {
		return InstanceId;
	}
	public void setInstanceId(String instanceId) {
		InstanceId = instanceId;
	}
	public String getImageId() {
		return ImageId;
	}
	public void setImageId(String imageId) {
		ImageId = imageId;
	}
	public String getInstancePassword() {
		return InstancePassword;
	}
	public void setInstancePassword(String instancePassword) {
		InstancePassword = instancePassword;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy