com.aliyun.sas20181203.models.PublicPreCheckImageScanTaskRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class PublicPreCheckImageScanTaskRequest extends TeaModel {
/**
* The SHA-256 value of the image digest. Separate multiple SHA-256 values with commas (,).
*/
@NameInMap("Digests")
public String digests;
/**
* The ID of the Container Registry instance in which the image repository is created. Separate multiple IDs with commas (,).
*/
@NameInMap("InstanceIds")
public String instanceIds;
/**
* The region ID of the image. Separate multiple IDs with commas (,).
*/
@NameInMap("RegionIds")
public String regionIds;
/**
* The type of the image repository. Separate multiple types with commas (,). Valid values:
*
* * **acr**
* * **harbor**
* * **quay**
*/
@NameInMap("RegistryTypes")
public String registryTypes;
/**
* The ID of the image repository. Separate multiple IDs with commas (,).
*/
@NameInMap("RepoIds")
public String repoIds;
/**
* The name of the image repository. Separate multiple names with commas (,).
*/
@NameInMap("RepoNames")
public String repoNames;
/**
* The namespace to which the image repository belongs. Separate multiple namespaces with commas (,).
*/
@NameInMap("RepoNamespaces")
public String repoNamespaces;
/**
* The source IP address of the request.
*/
@NameInMap("SourceIp")
public String sourceIp;
/**
* The tag that is added to the image. Separate multiple tags with commas (,).
*/
@NameInMap("Tags")
public String tags;
public static PublicPreCheckImageScanTaskRequest build(java.util.Map map) throws Exception {
PublicPreCheckImageScanTaskRequest self = new PublicPreCheckImageScanTaskRequest();
return TeaModel.build(map, self);
}
public PublicPreCheckImageScanTaskRequest setDigests(String digests) {
this.digests = digests;
return this;
}
public String getDigests() {
return this.digests;
}
public PublicPreCheckImageScanTaskRequest setInstanceIds(String instanceIds) {
this.instanceIds = instanceIds;
return this;
}
public String getInstanceIds() {
return this.instanceIds;
}
public PublicPreCheckImageScanTaskRequest setRegionIds(String regionIds) {
this.regionIds = regionIds;
return this;
}
public String getRegionIds() {
return this.regionIds;
}
public PublicPreCheckImageScanTaskRequest setRegistryTypes(String registryTypes) {
this.registryTypes = registryTypes;
return this;
}
public String getRegistryTypes() {
return this.registryTypes;
}
public PublicPreCheckImageScanTaskRequest setRepoIds(String repoIds) {
this.repoIds = repoIds;
return this;
}
public String getRepoIds() {
return this.repoIds;
}
public PublicPreCheckImageScanTaskRequest setRepoNames(String repoNames) {
this.repoNames = repoNames;
return this;
}
public String getRepoNames() {
return this.repoNames;
}
public PublicPreCheckImageScanTaskRequest setRepoNamespaces(String repoNamespaces) {
this.repoNamespaces = repoNamespaces;
return this;
}
public String getRepoNamespaces() {
return this.repoNamespaces;
}
public PublicPreCheckImageScanTaskRequest setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
return this;
}
public String getSourceIp() {
return this.sourceIp;
}
public PublicPreCheckImageScanTaskRequest setTags(String tags) {
this.tags = tags;
return this;
}
public String getTags() {
return this.tags;
}
}