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

com.jdcloud.sdk.service.dcap.model.CreateInstanceRequest Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2018 JDCLOUD.COM
 *
 * 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.
 *
 * Instance
 * 敏感数据保护-实例相关接口
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package com.jdcloud.sdk.service.dcap.model;

import com.jdcloud.sdk.annotation.Required;
import com.jdcloud.sdk.service.dcap.model.InstanceSpec;
import com.jdcloud.sdk.service.JdcloudRequest;

/**
 * 创建实例
 */
public class CreateInstanceRequest extends JdcloudRequest implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 创建实例的基本信息
     * Required:true
     */
    @Required
    private InstanceSpec instanceSpec;

    /**
     * Region ID
     * Required:true
     */
    @Required
    private String regionId;


    /**
     * get 创建实例的基本信息
     *
     * @return
     */
    public InstanceSpec getInstanceSpec() {
        return instanceSpec;
    }

    /**
     * set 创建实例的基本信息
     *
     * @param instanceSpec
     */
    public void setInstanceSpec(InstanceSpec instanceSpec) {
        this.instanceSpec = instanceSpec;
    }

    /**
     * get Region ID
     *
     * @return
     */
    public String getRegionId() {
        return regionId;
    }

    /**
     * set Region ID
     *
     * @param regionId
     */
    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }


    /**
     * set 创建实例的基本信息
     *
     * @param instanceSpec
     */
    public CreateInstanceRequest instanceSpec(InstanceSpec instanceSpec) {
        this.instanceSpec = instanceSpec;
        return this;
    }

    /**
     * set Region ID
     *
     * @param regionId
     */
    public CreateInstanceRequest regionId(String regionId) {
        this.regionId = regionId;
        return this;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy