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

com.jdcloud.sdk.service.dcap.model.DeleteIpWhiteItemRequest 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.JdcloudRequest;

/**
 * 删除一条IP白名单
 */
public class DeleteIpWhiteItemRequest extends JdcloudRequest implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * IP白名单记录,支持掩码
     * Required:true
     */
    @Required
    private String cidr;

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

    /**
     * 实例 ID
     * Required:true
     */
    @Required
    private String instanceId;


    /**
     * get IP白名单记录,支持掩码
     *
     * @return
     */
    public String getCidr() {
        return cidr;
    }

    /**
     * set IP白名单记录,支持掩码
     *
     * @param cidr
     */
    public void setCidr(String cidr) {
        this.cidr = cidr;
    }

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

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

    /**
     * get 实例 ID
     *
     * @return
     */
    public String getInstanceId() {
        return instanceId;
    }

    /**
     * set 实例 ID
     *
     * @param instanceId
     */
    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }


    /**
     * set IP白名单记录,支持掩码
     *
     * @param cidr
     */
    public DeleteIpWhiteItemRequest cidr(String cidr) {
        this.cidr = cidr;
        return this;
    }

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

    /**
     * set 实例 ID
     *
     * @param instanceId
     */
    public DeleteIpWhiteItemRequest instanceId(String instanceId) {
        this.instanceId = instanceId;
        return this;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy