com.aliyun.sdk.service.cloud_siem20220616.models.DescribeWafScopeResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeWafScopeResponseBody} extends {@link TeaModel}
*
* DescribeWafScopeResponseBody
*/
public class DescribeWafScopeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DescribeWafScopeResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeWafScopeResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List < Data> data;
private String message;
private String requestId;
private Boolean success;
/**
* The HTTP status code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The data returned.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* The returned message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Indicates whether the request was successful. Valid values:
*
*
* * true
* * false
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeWafScopeResponseBody build() {
return new DescribeWafScopeResponseBody(this);
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Aliuid")
private Long aliuid;
@com.aliyun.core.annotation.NameInMap("Domains")
private java.util.List < String > domains;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
private Data(Builder builder) {
this.aliuid = builder.aliuid;
this.domains = builder.domains;
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return aliuid
*/
public Long getAliuid() {
return this.aliuid;
}
/**
* @return domains
*/
public java.util.List < String > getDomains() {
return this.domains;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
public static final class Builder {
private Long aliuid;
private java.util.List < String > domains;
private String instanceId;
/**
* The ID of the Alibaba Cloud account in SIEM.
*/
public Builder aliuid(Long aliuid) {
this.aliuid = aliuid;
return this;
}
/**
* The domain names that are protected by the WAF instance.
*/
public Builder domains(java.util.List < String > domains) {
this.domains = domains;
return this;
}
/**
* The ID of the WAF instance.
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}