public class CreateComplianceTaskRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateComplianceTaskRequest() | 
| CreateComplianceTaskRequest(CreateComplianceTaskRequest source)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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getAssetTypeSet()Get List of asset types to be scanned
`ASSET_CONTAINER`: Container. | 
| Long | getPeriodTaskId()Get Scheduled task ID | 
| Long | getPolicySetId()Get Policy set ID | 
| void | setAssetTypeSet(String[] AssetTypeSet)Set List of asset types to be scanned
`ASSET_CONTAINER`: Container. | 
| void | setPeriodTaskId(Long PeriodTaskId)Set Scheduled task ID | 
| void | setPolicySetId(Long PolicySetId)Set Policy set ID | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic CreateComplianceTaskRequest()
public CreateComplianceTaskRequest(CreateComplianceTaskRequest source)
public String[] getAssetTypeSet()
public void setAssetTypeSet(String[] AssetTypeSet)
AssetTypeSet - List of asset types to be scanned
`ASSET_CONTAINER`: Container.
`ASSET_IMAGE`: Image.
`ASSET_HOST`: Server.
`ASSET_K8S`: K8s asset.
A valid value must be entered for the `AssetTypeSet`, `PolicySetId`, or `PeriodTaskId` parameter.public Long getPolicySetId()
public void setPolicySetId(Long PolicySetId)
PolicySetId - Policy set IDpublic Long getPeriodTaskId()
public void setPeriodTaskId(Long PeriodTaskId)
PeriodTaskId - Scheduled task IDCopyright © 2023. All rights reserved.