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 add the instance.
|
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 operation to query the most recent region list.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which you want to add the instance.
example:rg-bp67acfmxazb4p****
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource. For example, if you set ResourceType to instance, set this parameter to the ID of the instance.
example:sg-bp67acfmxazb4p****
@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:
The values are case-sensitive.
example:securitygroup
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 © 2024. All rights reserved.