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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeTrafficControlsByApiResponseBody Maven / Gradle / Ivy

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

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

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

DescribeTrafficControlsByApiResponseBody

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

The ID of the request.

* * example: *

CEF72CEB-54B6-4AE8-B225-F876FF7BZ004

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

The returned throttling policy information. It is an array consisting of TrafficControlItem data.

*/ public Builder trafficControlItems(TrafficControlItems trafficControlItems) { this.trafficControlItems = trafficControlItems; return this; } public DescribeTrafficControlsByApiResponseBody build() { return new DescribeTrafficControlsByApiResponseBody(this); } } /** * * {@link DescribeTrafficControlsByApiResponseBody} extends {@link TeaModel} * *

DescribeTrafficControlsByApiResponseBody

*/ public static class TrafficControlItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("BoundTime") private String boundTime; @com.aliyun.core.annotation.NameInMap("TrafficControlItemId") private String trafficControlItemId; @com.aliyun.core.annotation.NameInMap("TrafficControlItemName") private String trafficControlItemName; private TrafficControlItem(Builder builder) { this.boundTime = builder.boundTime; this.trafficControlItemId = builder.trafficControlItemId; this.trafficControlItemName = builder.trafficControlItemName; } public static Builder builder() { return new Builder(); } public static TrafficControlItem create() { return builder().build(); } /** * @return boundTime */ public String getBoundTime() { return this.boundTime; } /** * @return trafficControlItemId */ public String getTrafficControlItemId() { return this.trafficControlItemId; } /** * @return trafficControlItemName */ public String getTrafficControlItemName() { return this.trafficControlItemName; } public static final class Builder { private String boundTime; private String trafficControlItemId; private String trafficControlItemName; /** *

The binding time of the policy.

* * example: *

2016-07-23T08:28:48Z

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

The ID of the throttling policy.

* * example: *

dd05f1c54d6749eda95f9fa6d491449a

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

The name of the throttling policy.

* * example: *

mysecret

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

DescribeTrafficControlsByApiResponseBody

*/ public static class TrafficControlItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("TrafficControlItem") private java.util.List trafficControlItem; private TrafficControlItems(Builder builder) { this.trafficControlItem = builder.trafficControlItem; } public static Builder builder() { return new Builder(); } public static TrafficControlItems create() { return builder().build(); } /** * @return trafficControlItem */ public java.util.List getTrafficControlItem() { return this.trafficControlItem; } public static final class Builder { private java.util.List trafficControlItem; /** * TrafficControlItem. */ public Builder trafficControlItem(java.util.List trafficControlItem) { this.trafficControlItem = trafficControlItem; return this; } public TrafficControlItems build() { return new TrafficControlItems(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy