public class UpdateGatewayRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
enableInternet
Specifies whether to enable Internet access.
|
Boolean |
enableIntranet
Specifies whether to enable internal network access.
|
String |
instanceType
The instance type used for the private gateway.
|
Boolean |
isDefault
Indicates whether it is the default private gateway.
|
String |
name
The private gateway alias.
|
Integer |
replicas
The number of nodes in the private gateway.
|
| 构造器和说明 |
|---|
UpdateGatewayRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateGatewayRequest |
build(Map<String,?> map) |
Boolean |
getEnableInternet() |
Boolean |
getEnableIntranet() |
String |
getInstanceType() |
Boolean |
getIsDefault() |
String |
getName() |
Integer |
getReplicas() |
UpdateGatewayRequest |
setEnableInternet(Boolean enableInternet) |
UpdateGatewayRequest |
setEnableIntranet(Boolean enableIntranet) |
UpdateGatewayRequest |
setInstanceType(String instanceType) |
UpdateGatewayRequest |
setIsDefault(Boolean isDefault) |
UpdateGatewayRequest |
setName(String name) |
UpdateGatewayRequest |
setReplicas(Integer replicas) |
@NameInMap(value="EnableInternet") public Boolean enableInternet
Specifies whether to enable Internet access. Default value: false.
Valid values:
true
false
false
@NameInMap(value="EnableIntranet") public Boolean enableIntranet
Specifies whether to enable internal network access. Default value: true.
example:true
@NameInMap(value="InstanceType") public String instanceType
The instance type used for the private gateway.
example:ecs.c6.4xlarge
@NameInMap(value="IsDefault") public Boolean isDefault
Indicates whether it is the default private gateway.
example:true
@NameInMap(value="Name") public String name
The private gateway alias.
example:mygateway1
@NameInMap(value="Replicas") public Integer replicas
The number of nodes in the private gateway.
example:2
public static UpdateGatewayRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateGatewayRequest setEnableInternet(Boolean enableInternet)
public Boolean getEnableInternet()
public UpdateGatewayRequest setEnableIntranet(Boolean enableIntranet)
public Boolean getEnableIntranet()
public UpdateGatewayRequest setInstanceType(String instanceType)
public String getInstanceType()
public UpdateGatewayRequest setIsDefault(Boolean isDefault)
public Boolean getIsDefault()
public UpdateGatewayRequest setName(String name)
public String getName()
public UpdateGatewayRequest setReplicas(Integer replicas)
public Integer getReplicas()
Copyright © 2024. All rights reserved.