public static final class ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder extends Object
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Indicates the transit router can automatically advertise routes to the IPsec connection. Valid values:
true
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
example:cen-j3jzhw1zpau2km****
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder chargeType(String chargeType)
The billing method of the VPN attachment.
Only POSTPAY may be returned, which is the default pay-as-you-go billing method.
example:POSTPAY
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder creationTime(String creationTime)
The time when the VPN 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:2022-07-08T08:45Z
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder orderType(String orderType)
The entity that pays the fees of the network instance. Valid values:
PayByCenOwner
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder resourceType(String resourceType)
The type of resource attached to the transit router.
Only VPN may be returned, which indicates that an IPsec-VPN connection is attached to the transit router.
example:VPN
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder status(String status)
The status of the VPN connection. Valid values:
Attached
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder tags(List<ListTransitRouterVpnAttachmentsResponseBody.Tags> tags)
A list of tags.
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The description of the IPsec-VPN connection.
example:desctest
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the VPN attachment.
example:tr-attach-a6p8voaodog5c0****
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the VPN attachment.
example:nametest
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterId(String transitRouterId)
The ID of the transit router.
example:tr-p0wm740vjnbaprv0m****
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder vpnId(String vpnId)
The ID of the IPsec-VPN connection.
example:vco-p0wtu1xgd0l7fjo7k****
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder vpnOwnerId(Long vpnOwnerId)
The ID of the Alibaba Cloud account to which the IPsec-VPN connection belongs.
example:1210123456123456
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder vpnRegionId(String vpnRegionId)
The ID of the region to which the IPsec-VPN connection belongs.
You can call the DescribeRegions operation to query the region ID.
example:cn-hangzhou
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments.Builder zones(List<ListTransitRouterVpnAttachmentsResponseBody.Zones> zones)
The zones in which the VPN attachment is deployed.
public ListTransitRouterVpnAttachmentsResponseBody.TransitRouterAttachments build()
Copyright © 2025. All rights reserved.