public static final class ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder extends Object
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Indicates whether the Enterprise Edition transit router can automatically advertise routes to the VPC. Valid values:
true
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder cenId(String cenId)
The ID of the CEN instance.
example:cen-j3jzhw1zpau2km****
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder chargeType(String chargeType)
The billing method of the VPC connection.
Only POSTPAY may be returned, which indicates the default pay-as-you-go billing method.
example:POSTPAY
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder creationTime(String creationTime)
The time when the VPC connection was created.
The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
example:2021-06-15T02:14Z
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder orderType(String orderType)
The entity that pays the fees of the network instance. Valid values:
PayByCenOwner
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder resourceType(String resourceType)
The type of resource to which the transit router is connected.
Only VPC may be returned, which indicates VPCs.
example:VPC
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder status(String status)
The status of the VPC connection. Valid values:
Attached
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder tags(List<ListTransitRouterVpcAttachmentsResponseBody.Tags> tags)
The tags.
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The description of the VPC connection.
example:testdesc
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The VPC connection ID.
example:tr-attach-nls9fzkfat8934****
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the VPC connection.
example:testname
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterId(String transitRouterId)
The description of the Enterprise Edition transit router.
example:tr-bp1su1ytdxtataupl****
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterVPCAttachmentOptions(Map<String,String> transitRouterVPCAttachmentOptions)
The features of the VPC connection.
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder vpcId(String vpcId)
The VPC ID.
example:vpc-bp1h8vbrbcgohcju5****
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder vpcOwnerId(Long vpcOwnerId)
The ID of the Alibaba Cloud account to which the VPC belongs.
example:1250123456123456
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder vpcRegionId(String vpcRegionId)
The region ID of the VPC.
example:cn-hangzhou
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments.Builder zoneMappings(List<ListTransitRouterVpcAttachmentsResponseBody.ZoneMappings> zoneMappings)
The primary and secondary zones, vSwitches, and ENIs of the VPC.
public ListTransitRouterVpcAttachmentsResponseBody.TransitRouterAttachments build()
Copyright © 2025. All rights reserved.