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

com.aliyun.sdk.service.cbn20170912.models.ListTransitRouterRouteTablePropagationsRequest 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 ListTransitRouterRouteTablePropagationsRequest} extends {@link RequestModel}
 *
 * 

ListTransitRouterRouteTablePropagationsRequest

*/ public class ListTransitRouterRouteTablePropagationsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxResults") private Integer maxResults; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentId") private String transitRouterAttachmentId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentResourceId") private String transitRouterAttachmentResourceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TransitRouterAttachmentResourceType") private String transitRouterAttachmentResourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TransitRouterRouteTableId") @com.aliyun.core.annotation.Validation(required = true) private String transitRouterRouteTableId; private ListTransitRouterRouteTablePropagationsRequest(Builder builder) { super(builder); this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.status = builder.status; this.transitRouterAttachmentId = builder.transitRouterAttachmentId; this.transitRouterAttachmentResourceId = builder.transitRouterAttachmentResourceId; this.transitRouterAttachmentResourceType = builder.transitRouterAttachmentResourceType; this.transitRouterRouteTableId = builder.transitRouterRouteTableId; } public static Builder builder() { return new Builder(); } public static ListTransitRouterRouteTablePropagationsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return transitRouterAttachmentId */ public String getTransitRouterAttachmentId() { return this.transitRouterAttachmentId; } /** * @return transitRouterAttachmentResourceId */ public String getTransitRouterAttachmentResourceId() { return this.transitRouterAttachmentResourceId; } /** * @return transitRouterAttachmentResourceType */ public String getTransitRouterAttachmentResourceType() { return this.transitRouterAttachmentResourceType; } /** * @return transitRouterRouteTableId */ public String getTransitRouterRouteTableId() { return this.transitRouterRouteTableId; } public static final class Builder extends Request.Builder { private Integer maxResults; private String nextToken; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String status; private String transitRouterAttachmentId; private String transitRouterAttachmentResourceId; private String transitRouterAttachmentResourceType; private String transitRouterRouteTableId; private Builder() { super(); } private Builder(ListTransitRouterRouteTablePropagationsRequest request) { super(request); this.maxResults = request.maxResults; this.nextToken = request.nextToken; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.status = request.status; this.transitRouterAttachmentId = request.transitRouterAttachmentId; this.transitRouterAttachmentResourceId = request.transitRouterAttachmentResourceId; this.transitRouterAttachmentResourceType = request.transitRouterAttachmentResourceType; this.transitRouterRouteTableId = request.transitRouterRouteTableId; } /** * The number of entries to return on each page. Default value: **50**. */ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * The token that determines the start point of the query. */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * The status of the route learning correlation. Valid values: *

* * * **Active**: available * * **Enabling**: being enabled * * **Disabling**: being disabled */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * The ID of the network instance connection. */ public Builder transitRouterAttachmentId(String transitRouterAttachmentId) { this.putQueryParameter("TransitRouterAttachmentId", transitRouterAttachmentId); this.transitRouterAttachmentId = transitRouterAttachmentId; return this; } /** * The ID of the network instance. */ public Builder transitRouterAttachmentResourceId(String transitRouterAttachmentResourceId) { this.putQueryParameter("TransitRouterAttachmentResourceId", transitRouterAttachmentResourceId); this.transitRouterAttachmentResourceId = transitRouterAttachmentResourceId; return this; } /** * The type of the network instance. Valid values: *

* * * **VPC**: virtual private cloud (VPC) * * **VBR**: virtual border router (VBR) * * **TR**: transit router * * **VPN**: VPN connection */ public Builder transitRouterAttachmentResourceType(String transitRouterAttachmentResourceType) { this.putQueryParameter("TransitRouterAttachmentResourceType", transitRouterAttachmentResourceType); this.transitRouterAttachmentResourceType = transitRouterAttachmentResourceType; return this; } /** * The ID of the route table of the Enterprise Edition transit router. */ public Builder transitRouterRouteTableId(String transitRouterRouteTableId) { this.putQueryParameter("TransitRouterRouteTableId", transitRouterRouteTableId); this.transitRouterRouteTableId = transitRouterRouteTableId; return this; } @Override public ListTransitRouterRouteTablePropagationsRequest build() { return new ListTransitRouterRouteTablePropagationsRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy