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

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

import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString
@EqualsAndHashCode(callSuper = false)
public class CreateImageRequest extends KscWebServiceRequest
       implements Serializable, Cloneable, DryRunSupportedRequest{
    
    public CreateImageRequest() {
        initParam("com.ksyun.api.sdk.kec.KSCKECClient", "createImage", "kec", "2016-03-04",this.getClass());
    }
    
	private static final long serialVersionUID = 1L;

	private String InstanceId;
	
	private String Name;
	
    @Override
	public Request getDryRunRequest() {
    	
    	Request request = new CreateImageRequestMarshaller().marshall(this);
    	request.addParameter("DryRun", Boolean.toString(true));
		return request;
	}


	public String getInstanceId() {
		return InstanceId;
	}


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


	public String getName() {
		return Name;
	}


	public void setName(String name) {
		Name = name;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy