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

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

There is a newer version: 5.0.3
Show newest version
// 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 DescribeWafSourceIpSegmentResponseBody} extends {@link TeaModel}
 *
 * 

DescribeWafSourceIpSegmentResponseBody

*/ public class DescribeWafSourceIpSegmentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("WafSourceIp") private WafSourceIp wafSourceIp; private DescribeWafSourceIpSegmentResponseBody(Builder builder) { this.requestId = builder.requestId; this.wafSourceIp = builder.wafSourceIp; } public static Builder builder() { return new Builder(); } public static DescribeWafSourceIpSegmentResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return wafSourceIp */ public WafSourceIp getWafSourceIp() { return this.wafSourceIp; } public static final class Builder { private String requestId; private WafSourceIp wafSourceIp; /** *

The ID of the request.

* * example: *

9087ADDC-9047-4D02-82A7-33021B58083C

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

The back-to-origin CIDR blocks that are used by the protection cluster.

*/ public Builder wafSourceIp(WafSourceIp wafSourceIp) { this.wafSourceIp = wafSourceIp; return this; } public DescribeWafSourceIpSegmentResponseBody build() { return new DescribeWafSourceIpSegmentResponseBody(this); } } /** * * {@link DescribeWafSourceIpSegmentResponseBody} extends {@link TeaModel} * *

DescribeWafSourceIpSegmentResponseBody

*/ public static class WafSourceIp extends TeaModel { @com.aliyun.core.annotation.NameInMap("IPv4") private java.util.List < String > iPv4; @com.aliyun.core.annotation.NameInMap("IPv6") private java.util.List < String > iPv6; private WafSourceIp(Builder builder) { this.iPv4 = builder.iPv4; this.iPv6 = builder.iPv6; } public static Builder builder() { return new Builder(); } public static WafSourceIp create() { return builder().build(); } /** * @return iPv4 */ public java.util.List < String > getIPv4() { return this.iPv4; } /** * @return iPv6 */ public java.util.List < String > getIPv6() { return this.iPv6; } public static final class Builder { private java.util.List < String > iPv4; private java.util.List < String > iPv6; /** *

An array of back-to-origin IPv4 CIDR blocks.

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

An array of back-to-origin IPv6 CIDR blocks.

*/ public Builder iPv6(java.util.List < String > iPv6) { this.iPv6 = iPv6; return this; } public WafSourceIp build() { return new WafSourceIp(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy