public static final class TagResourcesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
TagResourcesRequest |
build() |
TagResourcesRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
TagResourcesRequest.Builder |
prodCode(String prodCode)
The name of the cloud service.
|
TagResourcesRequest.Builder |
regionId(String regionId)
The region ID.
|
TagResourcesRequest.Builder |
resourceId(List<String> resourceId)
The code of the message template.
|
TagResourcesRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
TagResourcesRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
TagResourcesRequest.Builder |
resourceType(String resourceType)
The type of the resource.
|
TagResourcesRequest.Builder |
tag(List<TagResourcesRequest.Tag> tag)
The tag.
|
public TagResourcesRequest.Builder ownerId(Long ownerId)
public TagResourcesRequest.Builder prodCode(String prodCode)
The name of the cloud service. Set the value to dysms.
example:dysms
public TagResourcesRequest.Builder regionId(String regionId)
The region ID. Set the value to cn-hangzhou.
This parameter is required.
example:cn-hangzhou
public TagResourcesRequest.Builder resourceId(List<String> resourceId)
The code of the message template.
example:SMS_23423423
public TagResourcesRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public TagResourcesRequest.Builder resourceOwnerId(Long resourceOwnerId)
public TagResourcesRequest.Builder resourceType(String resourceType)
The type of the resource. Set the value to TEMPLATE.
This parameter is required.
example:TEMPLATE
public TagResourcesRequest.Builder tag(List<TagResourcesRequest.Tag> tag)
The tag.
This parameter is required.
public TagResourcesRequest build()
Copyright © 2026. All rights reserved.