com.aliyun.sas20181203.models.ModifyAssetCleanConfigRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sas20181203 Show documentation
Show all versions of sas20181203 Show documentation
Alibaba Cloud Threat Detection (20181203) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ModifyAssetCleanConfigRequest extends TeaModel {
/**
* The asset cleanup configurations.
*/
@NameInMap("AssetCleanConfigs")
public java.util.List assetCleanConfigs;
public static ModifyAssetCleanConfigRequest build(java.util.Map map) throws Exception {
ModifyAssetCleanConfigRequest self = new ModifyAssetCleanConfigRequest();
return TeaModel.build(map, self);
}
public ModifyAssetCleanConfigRequest setAssetCleanConfigs(java.util.List assetCleanConfigs) {
this.assetCleanConfigs = assetCleanConfigs;
return this;
}
public java.util.List getAssetCleanConfigs() {
return this.assetCleanConfigs;
}
public static class ModifyAssetCleanConfigRequestAssetCleanConfigs extends TeaModel {
/**
* The number of days before hosts whose provider cannot be identified are automatically cleaned after they enter the offline state. Valid value: an integer that ranges from 1 to 30.
*
* example:
* 7
*/
@NameInMap("CleanDays")
public Integer cleanDays;
/**
* Specifies whether to enable the feature of cleaning the offline hosts whose provider cannot be identified. Valid values:
*
* - 0: disables the feature.
* - 1: enables the feature.
*
*
* example:
* 1
*/
@NameInMap("Status")
public Integer status;
/**
* The type of hosts that you want to clean.
* Set the value to 1, which indicates hosts whose provider cannot be identified.
*
* example:
* 1
*/
@NameInMap("Type")
public Integer type;
public static ModifyAssetCleanConfigRequestAssetCleanConfigs build(java.util.Map map) throws Exception {
ModifyAssetCleanConfigRequestAssetCleanConfigs self = new ModifyAssetCleanConfigRequestAssetCleanConfigs();
return TeaModel.build(map, self);
}
public ModifyAssetCleanConfigRequestAssetCleanConfigs setCleanDays(Integer cleanDays) {
this.cleanDays = cleanDays;
return this;
}
public Integer getCleanDays() {
return this.cleanDays;
}
public ModifyAssetCleanConfigRequestAssetCleanConfigs setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public ModifyAssetCleanConfigRequestAssetCleanConfigs setType(Integer type) {
this.type = type;
return this;
}
public Integer getType() {
return this.type;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy