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

com.aliyun.sdk.service.cbn20170912.models.ListTransitRouterVbrAttachmentsResponseBody Maven / Gradle / Ivy

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

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

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

ListTransitRouterVbrAttachmentsResponseBody

*/ public class ListTransitRouterVbrAttachmentsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; @com.aliyun.core.annotation.NameInMap("TransitRouterAttachments") private java.util.List < TransitRouterAttachments> transitRouterAttachments; private ListTransitRouterVbrAttachmentsResponseBody(Builder builder) { this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.totalCount = builder.totalCount; this.transitRouterAttachments = builder.transitRouterAttachments; } public static Builder builder() { return new Builder(); } public static ListTransitRouterVbrAttachmentsResponseBody create() { return builder().build(); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } /** * @return transitRouterAttachments */ public java.util.List < TransitRouterAttachments> getTransitRouterAttachments() { return this.transitRouterAttachments; } public static final class Builder { private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; private java.util.List < TransitRouterAttachments> transitRouterAttachments; /** * The number of entries returned per page. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of entries returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } /** * A list of VBR connections. */ public Builder transitRouterAttachments(java.util.List < TransitRouterAttachments> transitRouterAttachments) { this.transitRouterAttachments = transitRouterAttachments; return this; } public ListTransitRouterVbrAttachmentsResponseBody build() { return new ListTransitRouterVbrAttachmentsResponseBody(this); } } public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tags(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * The tag key. */ public Builder key(String key) { this.key = key; return this; } /** * The tag value. */ public Builder value(String value) { this.value = value; return this; } public Tags build() { return new Tags(this); } } } public static class TransitRouterAttachments extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoPublishRouteEnabled") private Boolean autoPublishRouteEnabled; @com.aliyun.core.annotation.NameInMap("CenId") private String cenId; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("OrderType") private String orderType; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List < Tags> tags; @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentDescription") private String transitRouterAttachmentDescription; @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentId") private String transitRouterAttachmentId; @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentName") private String transitRouterAttachmentName; @com.aliyun.core.annotation.NameInMap("TransitRouterId") private String transitRouterId; @com.aliyun.core.annotation.NameInMap("VbrId") private String vbrId; @com.aliyun.core.annotation.NameInMap("VbrOwnerId") private Long vbrOwnerId; @com.aliyun.core.annotation.NameInMap("VbrRegionId") private String vbrRegionId; private TransitRouterAttachments(Builder builder) { this.autoPublishRouteEnabled = builder.autoPublishRouteEnabled; this.cenId = builder.cenId; this.creationTime = builder.creationTime; this.orderType = builder.orderType; this.resourceType = builder.resourceType; this.status = builder.status; this.tags = builder.tags; this.transitRouterAttachmentDescription = builder.transitRouterAttachmentDescription; this.transitRouterAttachmentId = builder.transitRouterAttachmentId; this.transitRouterAttachmentName = builder.transitRouterAttachmentName; this.transitRouterId = builder.transitRouterId; this.vbrId = builder.vbrId; this.vbrOwnerId = builder.vbrOwnerId; this.vbrRegionId = builder.vbrRegionId; } public static Builder builder() { return new Builder(); } public static TransitRouterAttachments create() { return builder().build(); } /** * @return autoPublishRouteEnabled */ public Boolean getAutoPublishRouteEnabled() { return this.autoPublishRouteEnabled; } /** * @return cenId */ public String getCenId() { return this.cenId; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return orderType */ public String getOrderType() { return this.orderType; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tags */ public java.util.List < Tags> getTags() { return this.tags; } /** * @return transitRouterAttachmentDescription */ public String getTransitRouterAttachmentDescription() { return this.transitRouterAttachmentDescription; } /** * @return transitRouterAttachmentId */ public String getTransitRouterAttachmentId() { return this.transitRouterAttachmentId; } /** * @return transitRouterAttachmentName */ public String getTransitRouterAttachmentName() { return this.transitRouterAttachmentName; } /** * @return transitRouterId */ public String getTransitRouterId() { return this.transitRouterId; } /** * @return vbrId */ public String getVbrId() { return this.vbrId; } /** * @return vbrOwnerId */ public Long getVbrOwnerId() { return this.vbrOwnerId; } /** * @return vbrRegionId */ public String getVbrRegionId() { return this.vbrRegionId; } public static final class Builder { private Boolean autoPublishRouteEnabled; private String cenId; private String creationTime; private String orderType; private String resourceType; private String status; private java.util.List < Tags> tags; private String transitRouterAttachmentDescription; private String transitRouterAttachmentId; private String transitRouterAttachmentName; private String transitRouterId; private String vbrId; private Long vbrOwnerId; private String vbrRegionId; /** * Indicates whether the Enterprise Edition transit router is allowed to automatically advertise routes to the VBR. Valid values: *

* * * **false** (default) * * **true** */ public Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled) { this.autoPublishRouteEnabled = autoPublishRouteEnabled; return this; } /** * The ID of the CEN instance. */ public Builder cenId(String cenId) { this.cenId = cenId; return this; } /** * The time when the VBR connection was created. *

* * The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * The entity that pays the fees of the network instance. Valid values: *

* * * **PayByCenOwner**: the Alibaba Cloud account that owns the CEN instance. * * **PayByResourceOwner**: the Alibaba Cloud account that owns the network instance. */ public Builder orderType(String orderType) { this.orderType = orderType; return this; } /** * The type of resource to which the transit router is connected. Valid values: *

* * * **VPC** * * **CCN** * * **VBR** * * **TR** */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * The status of the VBR connection. Valid values: *

* * * **Attached** * * **Attaching** * * **Detaching** * * **Detached** */ public Builder status(String status) { this.status = status; return this; } /** * A list of tags. */ public Builder tags(java.util.List < Tags> tags) { this.tags = tags; return this; } /** * The description of the VBR connection. */ public Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription) { this.transitRouterAttachmentDescription = transitRouterAttachmentDescription; return this; } /** * The ID of the VBR connection. */ public Builder transitRouterAttachmentId(String transitRouterAttachmentId) { this.transitRouterAttachmentId = transitRouterAttachmentId; return this; } /** * The name of the VBR connection. */ public Builder transitRouterAttachmentName(String transitRouterAttachmentName) { this.transitRouterAttachmentName = transitRouterAttachmentName; return this; } /** * The description of the Enterprise Edition transit router. */ public Builder transitRouterId(String transitRouterId) { this.transitRouterId = transitRouterId; return this; } /** * The VBR ID. */ public Builder vbrId(String vbrId) { this.vbrId = vbrId; return this; } /** * The ID of the Alibaba Cloud account to which the VBR belongs. */ public Builder vbrOwnerId(Long vbrOwnerId) { this.vbrOwnerId = vbrOwnerId; return this; } /** * The region ID of the VBR. */ public Builder vbrRegionId(String vbrRegionId) { this.vbrRegionId = vbrRegionId; return this; } public TransitRouterAttachments build() { return new TransitRouterAttachments(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy