public class UpdateServiceManagedControlRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
regionId
The region ID of the GA instance.
|
String |
resourceId
The ID of the resource whose control mode you want to change.
|
String |
resourceType
The type of the resource whose control mode you want to change.
|
Boolean |
serviceManaged
The control mode of the resource.
|
构造器和说明 |
---|
UpdateServiceManagedControlRequest() |
限定符和类型 | 方法和说明 |
---|---|
static UpdateServiceManagedControlRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getRegionId() |
String |
getResourceId() |
String |
getResourceType() |
Boolean |
getServiceManaged() |
UpdateServiceManagedControlRequest |
setClientToken(String clientToken) |
UpdateServiceManagedControlRequest |
setRegionId(String regionId) |
UpdateServiceManagedControlRequest |
setResourceId(String resourceId) |
UpdateServiceManagedControlRequest |
setResourceType(String resourceType) |
UpdateServiceManagedControlRequest |
setServiceManaged(Boolean serviceManaged) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. The **request ID** may be different for each request.
@NameInMap(value="RegionId") public String regionId
The region ID of the GA instance. Set the value to cn-hangzhou.
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource whose control mode you want to change.
@NameInMap(value="ResourceType") public String resourceType
The type of the resource whose control mode you want to change.
Set the value to **Accelerator**, which specifies a standard GA instance.
@NameInMap(value="ServiceManaged") public Boolean serviceManaged
The control mode of the resource.
Set the value to **false**, which changes the control mode of the resource from managed mode to unmanaged mode.
> You can change the control mode only from managed mode to unmanaged mode.
public static UpdateServiceManagedControlRequest build(Map<String,?> map) throws Exception
Exception
public UpdateServiceManagedControlRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateServiceManagedControlRequest setRegionId(String regionId)
public String getRegionId()
public UpdateServiceManagedControlRequest setResourceId(String resourceId)
public String getResourceId()
public UpdateServiceManagedControlRequest setResourceType(String resourceType)
public String getResourceType()
public UpdateServiceManagedControlRequest setServiceManaged(Boolean serviceManaged)
public Boolean getServiceManaged()
Copyright © 2024. All rights reserved.