public class JoinResourceGroupRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the resource.
|
String |
resourceGroupId
The ID of the resource group to which you want to assign the resource.
|
String |
resourceId
The ID of the resource.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
resourceType
The type of the ECS resource.
|
构造器和说明 |
---|
JoinResourceGroupRequest() |
限定符和类型 | 方法和说明 |
---|---|
static JoinResourceGroupRequest |
build(Map<String,?> map) |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceGroupId() |
String |
getResourceId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getResourceType() |
JoinResourceGroupRequest |
setOwnerAccount(String ownerAccount) |
JoinResourceGroupRequest |
setOwnerId(Long ownerId) |
JoinResourceGroupRequest |
setRegionId(String regionId) |
JoinResourceGroupRequest |
setResourceGroupId(String resourceGroupId) |
JoinResourceGroupRequest |
setResourceId(String resourceId) |
JoinResourceGroupRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
JoinResourceGroupRequest |
setResourceOwnerId(Long resourceOwnerId) |
JoinResourceGroupRequest |
setResourceType(String resourceType) |
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the resource. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which you want to assign the resource.
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource. The value of this parameter varies based on the resource type. For example, when ResourceType is set to instance, the ResourceId refers to InstanceId.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ResourceType") public String resourceType
The type of the ECS resource. Valid values:
* instance: instance
* disk: Elastic Block Storage device
* snapshot: snapshot
* image: image
* securitygroup: security group
* ddh: dedicated host
* ddhcluster: dedicated host cluster
* eni: ENI
* keypair: SSH key pair
* launchtemplate: launch template
These values are case-sensitive.
public static JoinResourceGroupRequest build(Map<String,?> map) throws Exception
Exception
public JoinResourceGroupRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public JoinResourceGroupRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public JoinResourceGroupRequest setRegionId(String regionId)
public String getRegionId()
public JoinResourceGroupRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public JoinResourceGroupRequest setResourceId(String resourceId)
public String getResourceId()
public JoinResourceGroupRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public JoinResourceGroupRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public JoinResourceGroupRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2023. All rights reserved.