public static class CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
id
The ID of the private pool.
|
String |
matchCriteria
The type of the private pool to use to start the instance.
|
构造器和说明 |
---|
CreateInstanceRequestPrivatePoolOptions() |
限定符和类型 | 方法和说明 |
---|---|
static CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions |
build(Map<String,?> map) |
String |
getId() |
String |
getMatchCriteria() |
CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions |
setId(String id) |
CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions |
setMatchCriteria(String matchCriteria) |
@NameInMap(value="Id") public String id
The ID of the private pool. The ID of a private pool is the same as that of the elasticity assurance or capacity reservation for which the private pool is generated.
example:eap-bp67acfmxazb4****
@NameInMap(value="MatchCriteria") public String matchCriteria
The type of the private pool to use to start the instance. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. You can select a private pool to start instances. Valid values:
PrivatePoolOptions.Id
parameter empty.PrivatePoolOptions.Id
parameter.Default value: none.
In the following scenarios, the PrivatePoolOptions.MatchCriteria parameter can be set only to None
or left empty:
Open
public static CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions build(Map<String,?> map) throws Exception
Exception
public CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions setId(String id)
public String getId()
public CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions setMatchCriteria(String matchCriteria)
public String getMatchCriteria()
Copyright © 2024. All rights reserved.