public static final class ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder extends Object
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder autoPublishRouteEnabled(Boolean autoPublishRouteEnabled)
Indicates whether the Enterprise Edition transit router can automatically advertise routes to ECRs.
The value is true, which indicates that the Enterprise Edition transit router can automatically advertise routes to ECRs.
example:true
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder cenId(String cenId)
The ID of the CEN instance.
example:cen-j3jzhw1zpau2km****
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder creationTime(String creationTime)
The time when the ECR 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 ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder ecrId(String ecrId)
The ID of the ECR with which the ECR connection is associated.
example:ecr-n78omt2qsko06y****
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder ecrOwnerId(Long ecrOwnerId)
The ID of the Alibaba Cloud account to which the ECR connection belongs.
example:1688111111111111
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder orderType(String orderType)
The entity that pays the fees of the network instance. Valid values: Valid values:
PayByCenOwner
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder resourceType(String resourceType)
The type of resource to which the transit router is connected. Valid values:
The value is ECR, which indicates ECR connections.
example:ECR
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder status(String status)
The status of the ECR connection. Valid values:
Attached
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder tags(List<ListTransitRouterEcrAttachmentsResponseBody.Tags> tags)
The tags.
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentDescription(String transitRouterAttachmentDescription)
The description of the ECR connection.
example:desctest
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the ECR connection.
example:tr-attach-nls9fzkfat8934****
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterAttachmentName(String transitRouterAttachmentName)
The name of the ECR connection.
example:testname
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterId(String transitRouterId)
The ID of the Enterprise Edition transit router.
example:tr-bp1su1ytdxtataupl****
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments.Builder transitRouterRegionId(String transitRouterRegionId)
The region ID of the transit router.
You can call the DescribeChildInstanceRegions operation to query the most recent region list.
example:cn-shanghai
public ListTransitRouterEcrAttachmentsResponseBody.TransitRouterAttachments build()
Copyright © 2025. All rights reserved.