![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.cwp.v20180228.models.RansomDefenseStrategyMachineDetail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.cwp.v20180228.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 RansomDefenseStrategyMachineDetail extends AbstractModel {
/**
* Host UUID
*/
@SerializedName("Uuid")
@Expose
private String Uuid;
/**
* Host QUUID
*/
@SerializedName("Quuid")
@Expose
private String Quuid;
/**
* Host name
*/
@SerializedName("MachineName")
@Expose
private String MachineName;
/**
* Host Instance ID
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* Private IP address
*/
@SerializedName("MachineIp")
@Expose
private String MachineIp;
/**
* Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MachineWanIp")
@Expose
private String MachineWanIp;
/**
* Cloud tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("CloudTags")
@Expose
private Tag [] CloudTags;
/**
* Availability zone information
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("RegionInfo")
@Expose
private RegionInfo RegionInfo;
/**
* CWPP tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Tag")
@Expose
private MachineTag [] Tag;
/**
* Protection status: 0 Disabled, 1 Enabled.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* Policy ID. 0 indicates no binding to any policy.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("StrategyId")
@Expose
private Long StrategyId;
/**
* Hard disk information, all hard disks take effect when left blank:
Separate diskId1|diskName1;diskId2|diskName2
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("DiskInfo")
@Expose
private String DiskInfo;
/**
* Edition information. 0: Basic Edition; 1: Pro Edition; 2: Ultimate Edition; 3: Inclusive Edition.Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("HostVersion")
@Expose
private Long HostVersion;
/**
* Policy name
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("StrategyName")
@Expose
private String StrategyName;
/**
* Get Host UUID
* @return Uuid Host UUID
*/
public String getUuid() {
return this.Uuid;
}
/**
* Set Host UUID
* @param Uuid Host UUID
*/
public void setUuid(String Uuid) {
this.Uuid = Uuid;
}
/**
* Get Host QUUID
* @return Quuid Host QUUID
*/
public String getQuuid() {
return this.Quuid;
}
/**
* Set Host QUUID
* @param Quuid Host QUUID
*/
public void setQuuid(String Quuid) {
this.Quuid = Quuid;
}
/**
* Get Host name
* @return MachineName Host name
*/
public String getMachineName() {
return this.MachineName;
}
/**
* Set Host name
* @param MachineName Host name
*/
public void setMachineName(String MachineName) {
this.MachineName = MachineName;
}
/**
* Get Host Instance ID
* @return InstanceId Host Instance ID
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set Host Instance ID
* @param InstanceId Host Instance ID
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
/**
* Get Private IP address
* @return MachineIp Private IP address
*/
public String getMachineIp() {
return this.MachineIp;
}
/**
* Set Private IP address
* @param MachineIp Private IP address
*/
public void setMachineIp(String MachineIp) {
this.MachineIp = MachineIp;
}
/**
* Get Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
* @return MachineWanIp Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getMachineWanIp() {
return this.MachineWanIp;
}
/**
* Set Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
* @param MachineWanIp Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMachineWanIp(String MachineWanIp) {
this.MachineWanIp = MachineWanIp;
}
/**
* Get Cloud tag
Note: This field may return null, indicating that no valid values can be obtained.
* @return CloudTags Cloud tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Tag [] getCloudTags() {
return this.CloudTags;
}
/**
* Set Cloud tag
Note: This field may return null, indicating that no valid values can be obtained.
* @param CloudTags Cloud tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setCloudTags(Tag [] CloudTags) {
this.CloudTags = CloudTags;
}
/**
* Get Availability zone information
Note: This field may return null, indicating that no valid values can be obtained.
* @return RegionInfo Availability zone information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public RegionInfo getRegionInfo() {
return this.RegionInfo;
}
/**
* Set Availability zone information
Note: This field may return null, indicating that no valid values can be obtained.
* @param RegionInfo Availability zone information
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setRegionInfo(RegionInfo RegionInfo) {
this.RegionInfo = RegionInfo;
}
/**
* Get CWPP tag
Note: This field may return null, indicating that no valid values can be obtained.
* @return Tag CWPP tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public MachineTag [] getTag() {
return this.Tag;
}
/**
* Set CWPP tag
Note: This field may return null, indicating that no valid values can be obtained.
* @param Tag CWPP tag
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setTag(MachineTag [] Tag) {
this.Tag = Tag;
}
/**
* Get Protection status: 0 Disabled, 1 Enabled.
Note: This field may return null, indicating that no valid values can be obtained.
* @return Status Protection status: 0 Disabled, 1 Enabled.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getStatus() {
return this.Status;
}
/**
* Set Protection status: 0 Disabled, 1 Enabled.
Note: This field may return null, indicating that no valid values can be obtained.
* @param Status Protection status: 0 Disabled, 1 Enabled.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get Policy ID. 0 indicates no binding to any policy.
Note: This field may return null, indicating that no valid values can be obtained.
* @return StrategyId Policy ID. 0 indicates no binding to any policy.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getStrategyId() {
return this.StrategyId;
}
/**
* Set Policy ID. 0 indicates no binding to any policy.
Note: This field may return null, indicating that no valid values can be obtained.
* @param StrategyId Policy ID. 0 indicates no binding to any policy.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setStrategyId(Long StrategyId) {
this.StrategyId = StrategyId;
}
/**
* Get Hard disk information, all hard disks take effect when left blank:
Separate diskId1|diskName1;diskId2|diskName2
Note: This field may return null, indicating that no valid values can be obtained.
* @return DiskInfo Hard disk information, all hard disks take effect when left blank:
Separate diskId1|diskName1;diskId2|diskName2
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getDiskInfo() {
return this.DiskInfo;
}
/**
* Set Hard disk information, all hard disks take effect when left blank:
Separate diskId1|diskName1;diskId2|diskName2
Note: This field may return null, indicating that no valid values can be obtained.
* @param DiskInfo Hard disk information, all hard disks take effect when left blank:
Separate diskId1|diskName1;diskId2|diskName2
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setDiskInfo(String DiskInfo) {
this.DiskInfo = DiskInfo;
}
/**
* Get Edition information. 0: Basic Edition; 1: Pro Edition; 2: Ultimate Edition; 3: Inclusive Edition.Note: This field may return null, indicating that no valid values can be obtained.
* @return HostVersion Edition information. 0: Basic Edition; 1: Pro Edition; 2: Ultimate Edition; 3: Inclusive Edition.Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getHostVersion() {
return this.HostVersion;
}
/**
* Set Edition information. 0: Basic Edition; 1: Pro Edition; 2: Ultimate Edition; 3: Inclusive Edition.Note: This field may return null, indicating that no valid values can be obtained.
* @param HostVersion Edition information. 0: Basic Edition; 1: Pro Edition; 2: Ultimate Edition; 3: Inclusive Edition.Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setHostVersion(Long HostVersion) {
this.HostVersion = HostVersion;
}
/**
* Get Policy name
Note: This field may return null, indicating that no valid values can be obtained.
* @return StrategyName Policy name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getStrategyName() {
return this.StrategyName;
}
/**
* Set Policy name
Note: This field may return null, indicating that no valid values can be obtained.
* @param StrategyName Policy name
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setStrategyName(String StrategyName) {
this.StrategyName = StrategyName;
}
public RansomDefenseStrategyMachineDetail() {
}
/**
* 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 RansomDefenseStrategyMachineDetail(RansomDefenseStrategyMachineDetail source) {
if (source.Uuid != null) {
this.Uuid = new String(source.Uuid);
}
if (source.Quuid != null) {
this.Quuid = new String(source.Quuid);
}
if (source.MachineName != null) {
this.MachineName = new String(source.MachineName);
}
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
if (source.MachineIp != null) {
this.MachineIp = new String(source.MachineIp);
}
if (source.MachineWanIp != null) {
this.MachineWanIp = new String(source.MachineWanIp);
}
if (source.CloudTags != null) {
this.CloudTags = new Tag[source.CloudTags.length];
for (int i = 0; i < source.CloudTags.length; i++) {
this.CloudTags[i] = new Tag(source.CloudTags[i]);
}
}
if (source.RegionInfo != null) {
this.RegionInfo = new RegionInfo(source.RegionInfo);
}
if (source.Tag != null) {
this.Tag = new MachineTag[source.Tag.length];
for (int i = 0; i < source.Tag.length; i++) {
this.Tag[i] = new MachineTag(source.Tag[i]);
}
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.StrategyId != null) {
this.StrategyId = new Long(source.StrategyId);
}
if (source.DiskInfo != null) {
this.DiskInfo = new String(source.DiskInfo);
}
if (source.HostVersion != null) {
this.HostVersion = new Long(source.HostVersion);
}
if (source.StrategyName != null) {
this.StrategyName = new String(source.StrategyName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Uuid", this.Uuid);
this.setParamSimple(map, prefix + "Quuid", this.Quuid);
this.setParamSimple(map, prefix + "MachineName", this.MachineName);
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.setParamSimple(map, prefix + "MachineIp", this.MachineIp);
this.setParamSimple(map, prefix + "MachineWanIp", this.MachineWanIp);
this.setParamArrayObj(map, prefix + "CloudTags.", this.CloudTags);
this.setParamObj(map, prefix + "RegionInfo.", this.RegionInfo);
this.setParamArrayObj(map, prefix + "Tag.", this.Tag);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "StrategyId", this.StrategyId);
this.setParamSimple(map, prefix + "DiskInfo", this.DiskInfo);
this.setParamSimple(map, prefix + "HostVersion", this.HostVersion);
this.setParamSimple(map, prefix + "StrategyName", this.StrategyName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy