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

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeResourceLogStatusResponseBody 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 DescribeResourceLogStatusResponseBody} extends {@link TeaModel}
 *
 * 

DescribeResourceLogStatusResponseBody

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

The ID of the request.

* * example: *

0DABF8AB-2321-5F8D-A8D7-922D757FBFFE

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

The returned result.

*/ public Builder result(java.util.List < Result> result) { this.result = result; return this; } public DescribeResourceLogStatusResponseBody build() { return new DescribeResourceLogStatusResponseBody(this); } } /** * * {@link DescribeResourceLogStatusResponseBody} extends {@link TeaModel} * *

DescribeResourceLogStatusResponseBody

*/ public static class Result extends TeaModel { @com.aliyun.core.annotation.NameInMap("Resource") private String resource; @com.aliyun.core.annotation.NameInMap("Status") private Boolean status; private Result(Builder builder) { this.resource = builder.resource; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Result create() { return builder().build(); } /** * @return resource */ public String getResource() { return this.resource; } /** * @return status */ public Boolean getStatus() { return this.status; } public static final class Builder { private String resource; private Boolean status; /** *

The protected object.

* * example: *

alb-wewbb23dfsetetcic****

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

Indicates whether the log collection feature is enabled for the protected object. Valid values:

*
    *
  • true: The log collection feature is enabled.
  • *
  • false: The log collection feature is disabled.
  • *
* * example: *

true

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy