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

com.aliyun.sas20181203.models.ListOpaClusterStrategyNewResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class ListOpaClusterStrategyNewResponseBody extends TeaModel {
    /**
     * 

The response code. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

* * example: *

200

*/ @NameInMap("Code") public String code; /** *

The HTTP status code.

* * example: *

200

*/ @NameInMap("HttpStatusCode") public Integer httpStatusCode; /** *

The rules.

*/ @NameInMap("List") public java.util.List list; /** *

The message that shows the export task result. The value is fixed as success, which indicates that the export task is successful.

* * example: *

success

*/ @NameInMap("Message") public String message; /** *

The pagination information.

*/ @NameInMap("PageInfo") public ListOpaClusterStrategyNewResponseBodyPageInfo pageInfo; /** *

The request ID.

* * example: *

7DFD947C-9172-5129-B783-DD14C55191D2

*/ @NameInMap("RequestId") public String requestId; /** *

Indicates whether the request was successful. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static ListOpaClusterStrategyNewResponseBody build(java.util.Map map) throws Exception { ListOpaClusterStrategyNewResponseBody self = new ListOpaClusterStrategyNewResponseBody(); return TeaModel.build(map, self); } public ListOpaClusterStrategyNewResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public ListOpaClusterStrategyNewResponseBody setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public ListOpaClusterStrategyNewResponseBody setList(java.util.List list) { this.list = list; return this; } public java.util.List getList() { return this.list; } public ListOpaClusterStrategyNewResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public ListOpaClusterStrategyNewResponseBody setPageInfo(ListOpaClusterStrategyNewResponseBodyPageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public ListOpaClusterStrategyNewResponseBodyPageInfo getPageInfo() { return this.pageInfo; } public ListOpaClusterStrategyNewResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ListOpaClusterStrategyNewResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public static class ListOpaClusterStrategyNewResponseBodyList extends TeaModel { /** *

The action of the rule. Valid values:

*
    *
  • 1: trigger alerts
  • *
  • 2: block
  • *
  • 3: allow
  • *
* * example: *

1

*/ @NameInMap("Action") public Integer action; /** *

The number of clusters on which the rule takes effect.

* * example: *

1

*/ @NameInMap("ClusterCount") public Integer clusterCount; /** *

The clusters on which the rule takes effect.

*/ @NameInMap("ClusterIdList") public java.util.List clusterIdList; /** *

The description.

* * example: *

Config the Event Audit policys

*/ @NameInMap("Description") public String description; /** *

The image names.

*/ @NameInMap("ImageName") public java.util.List imageName; /** *

The tags that are added to the container.

*/ @NameInMap("Label") public java.util.List label; /** *

Indicates whether the rule supports malicious Internet images. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("MaliciousImage") public Boolean maliciousImage; /** *

The rule ID.

* * example: *

1

*/ @NameInMap("StrategyId") public Long strategyId; /** *

The rule name.

* * example: *

auto-strategy-vohuiq

*/ @NameInMap("StrategyName") public String strategyName; /** *

Indicates whether the rule supports unscanned images. Valid values:

*
    *
  • true
  • *
  • false
  • *
* * example: *

true

*/ @NameInMap("UnScanedImage") public Boolean unScanedImage; public static ListOpaClusterStrategyNewResponseBodyList build(java.util.Map map) throws Exception { ListOpaClusterStrategyNewResponseBodyList self = new ListOpaClusterStrategyNewResponseBodyList(); return TeaModel.build(map, self); } public ListOpaClusterStrategyNewResponseBodyList setAction(Integer action) { this.action = action; return this; } public Integer getAction() { return this.action; } public ListOpaClusterStrategyNewResponseBodyList setClusterCount(Integer clusterCount) { this.clusterCount = clusterCount; return this; } public Integer getClusterCount() { return this.clusterCount; } public ListOpaClusterStrategyNewResponseBodyList setClusterIdList(java.util.List clusterIdList) { this.clusterIdList = clusterIdList; return this; } public java.util.List getClusterIdList() { return this.clusterIdList; } public ListOpaClusterStrategyNewResponseBodyList setDescription(String description) { this.description = description; return this; } public String getDescription() { return this.description; } public ListOpaClusterStrategyNewResponseBodyList setImageName(java.util.List imageName) { this.imageName = imageName; return this; } public java.util.List getImageName() { return this.imageName; } public ListOpaClusterStrategyNewResponseBodyList setLabel(java.util.List label) { this.label = label; return this; } public java.util.List getLabel() { return this.label; } public ListOpaClusterStrategyNewResponseBodyList setMaliciousImage(Boolean maliciousImage) { this.maliciousImage = maliciousImage; return this; } public Boolean getMaliciousImage() { return this.maliciousImage; } public ListOpaClusterStrategyNewResponseBodyList setStrategyId(Long strategyId) { this.strategyId = strategyId; return this; } public Long getStrategyId() { return this.strategyId; } public ListOpaClusterStrategyNewResponseBodyList setStrategyName(String strategyName) { this.strategyName = strategyName; return this; } public String getStrategyName() { return this.strategyName; } public ListOpaClusterStrategyNewResponseBodyList setUnScanedImage(Boolean unScanedImage) { this.unScanedImage = unScanedImage; return this; } public Boolean getUnScanedImage() { return this.unScanedImage; } } public static class ListOpaClusterStrategyNewResponseBodyPageInfo extends TeaModel { /** *

The number of entries returned on the current page.

* * example: *

20

*/ @NameInMap("Count") public Integer count; /** *

The page number.

* * example: *

1

*/ @NameInMap("CurrentPage") public Integer currentPage; /** *

The number of entries per page.

* * example: *

20

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The total number of entries returned.

* * example: *

45

*/ @NameInMap("TotalCount") public Integer totalCount; public static ListOpaClusterStrategyNewResponseBodyPageInfo build(java.util.Map map) throws Exception { ListOpaClusterStrategyNewResponseBodyPageInfo self = new ListOpaClusterStrategyNewResponseBodyPageInfo(); return TeaModel.build(map, self); } public ListOpaClusterStrategyNewResponseBodyPageInfo setCount(Integer count) { this.count = count; return this; } public Integer getCount() { return this.count; } public ListOpaClusterStrategyNewResponseBodyPageInfo setCurrentPage(Integer currentPage) { this.currentPage = currentPage; return this; } public Integer getCurrentPage() { return this.currentPage; } public ListOpaClusterStrategyNewResponseBodyPageInfo setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public ListOpaClusterStrategyNewResponseBodyPageInfo setTotalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Integer getTotalCount() { return this.totalCount; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy