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

com.tencentcloudapi.vod.v20180717.models.StorageRegionInfo Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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.
 */
package com.tencentcloudapi.vod.v20180717.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class StorageRegionInfo extends AbstractModel {

    /**
    * The storage region.
    */
    @SerializedName("Region")
    @Expose
    private String Region;

    /**
    * The description of the storage region.
    */
    @SerializedName("Description")
    @Expose
    private String Description;

    /**
    * Whether storage is enabled in the region. Valid values:
  • opened: Enabled
  • unopened: Not enabled
  • */ @SerializedName("Status") @Expose private String Status; /** * Whether the region is the default storage region. Valid values: true, false. */ @SerializedName("IsDefault") @Expose private Boolean IsDefault; /** * Whether the storage region is inside or outside the Chinese mainland. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ @SerializedName("Area") @Expose private String Area; /** * Get The storage region. * @return Region The storage region. */ public String getRegion() { return this.Region; } /** * Set The storage region. * @param Region The storage region. */ public void setRegion(String Region) { this.Region = Region; } /** * Get The description of the storage region. * @return Description The description of the storage region. */ public String getDescription() { return this.Description; } /** * Set The description of the storage region. * @param Description The description of the storage region. */ public void setDescription(String Description) { this.Description = Description; } /** * Get Whether storage is enabled in the region. Valid values:
  • opened: Enabled
  • unopened: Not enabled
  • * @return Status Whether storage is enabled in the region. Valid values:
  • opened: Enabled
  • unopened: Not enabled
  • */ public String getStatus() { return this.Status; } /** * Set Whether storage is enabled in the region. Valid values:
  • opened: Enabled
  • unopened: Not enabled
  • * @param Status Whether storage is enabled in the region. Valid values:
  • opened: Enabled
  • unopened: Not enabled
  • */ public void setStatus(String Status) { this.Status = Status; } /** * Get Whether the region is the default storage region. Valid values: true, false. * @return IsDefault Whether the region is the default storage region. Valid values: true, false. */ public Boolean getIsDefault() { return this.IsDefault; } /** * Set Whether the region is the default storage region. Valid values: true, false. * @param IsDefault Whether the region is the default storage region. Valid values: true, false. */ public void setIsDefault(Boolean IsDefault) { this.IsDefault = IsDefault; } /** * Get Whether the storage region is inside or outside the Chinese mainland. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • * @return Area Whether the storage region is inside or outside the Chinese mainland. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ public String getArea() { return this.Area; } /** * Set Whether the storage region is inside or outside the Chinese mainland. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • * @param Area Whether the storage region is inside or outside the Chinese mainland. Valid values:
  • Chinese Mainland
  • Outside Chinese Mainland
  • */ public void setArea(String Area) { this.Area = Area; } public StorageRegionInfo() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public StorageRegionInfo(StorageRegionInfo source) { if (source.Region != null) { this.Region = new String(source.Region); } if (source.Description != null) { this.Description = new String(source.Description); } if (source.Status != null) { this.Status = new String(source.Status); } if (source.IsDefault != null) { this.IsDefault = new Boolean(source.IsDefault); } if (source.Area != null) { this.Area = new String(source.Area); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Region", this.Region); this.setParamSimple(map, prefix + "Description", this.Description); this.setParamSimple(map, prefix + "Status", this.Status); this.setParamSimple(map, prefix + "IsDefault", this.IsDefault); this.setParamSimple(map, prefix + "Area", this.Area); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy