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

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeApisecLogDeliveriesResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeApisecLogDeliveriesResponseBody} extends {@link TeaModel}
 *
 * 

DescribeApisecLogDeliveriesResponseBody

*/ public class DescribeApisecLogDeliveriesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeliveryConfigs") private java.util.List < DeliveryConfigs> deliveryConfigs; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeApisecLogDeliveriesResponseBody(Builder builder) { this.deliveryConfigs = builder.deliveryConfigs; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeApisecLogDeliveriesResponseBody create() { return builder().build(); } /** * @return deliveryConfigs */ public java.util.List < DeliveryConfigs> getDeliveryConfigs() { return this.deliveryConfigs; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < DeliveryConfigs> deliveryConfigs; private String requestId; /** *

The configurations of API security log subscription.

*/ public Builder deliveryConfigs(java.util.List < DeliveryConfigs> deliveryConfigs) { this.deliveryConfigs = deliveryConfigs; return this; } /** *

The ID of the request.

* * example: *

2EFCFE18-78F8-5079-B312-07***48B

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeApisecLogDeliveriesResponseBody build() { return new DescribeApisecLogDeliveriesResponseBody(this); } } /** * * {@link DescribeApisecLogDeliveriesResponseBody} extends {@link TeaModel} * *

DescribeApisecLogDeliveriesResponseBody

*/ public static class DeliveryConfigs extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssertKey") private String assertKey; @com.aliyun.core.annotation.NameInMap("LogRegionId") private String logRegionId; @com.aliyun.core.annotation.NameInMap("LogStoreName") private String logStoreName; @com.aliyun.core.annotation.NameInMap("ProjectName") private String projectName; @com.aliyun.core.annotation.NameInMap("Status") private Boolean status; private DeliveryConfigs(Builder builder) { this.assertKey = builder.assertKey; this.logRegionId = builder.logRegionId; this.logStoreName = builder.logStoreName; this.projectName = builder.projectName; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DeliveryConfigs create() { return builder().build(); } /** * @return assertKey */ public String getAssertKey() { return this.assertKey; } /** * @return logRegionId */ public String getLogRegionId() { return this.logRegionId; } /** * @return logStoreName */ public String getLogStoreName() { return this.logStoreName; } /** * @return projectName */ public String getProjectName() { return this.projectName; } /** * @return status */ public Boolean getStatus() { return this.status; } public static final class Builder { private String assertKey; private String logRegionId; private String logStoreName; private String projectName; private Boolean status; /** *

The type of the log subscription. Valid values:

*
    *
  • risk: risk information.
  • *
  • event: attack event information.
  • *
  • asset: asset information.
  • *
* * example: *

risk

*/ public Builder assertKey(String assertKey) { this.assertKey = assertKey; return this; } /** *

The ID of the region where logs are stored.

* * example: *

cn-hangzhou

*/ public Builder logRegionId(String logRegionId) { this.logRegionId = logRegionId; return this; } /** *

The name of the Logstore in Simple Log Service.

* * example: *

apisec-logstore***

*/ public Builder logStoreName(String logStoreName) { this.logStoreName = logStoreName; return this; } /** *

The name of the project in Simple Log Service.

* * example: *

apisec-project-14316572********

*/ public Builder projectName(String projectName) { this.projectName = projectName; return this; } /** *

The status of API security log subscription. Valid values:

*
    *
  • true: enabled.
  • *
  • false: disabled.
  • *
* * example: *

true

*/ public Builder status(Boolean status) { this.status = status; return this; } public DeliveryConfigs build() { return new DeliveryConfigs(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy