public class UpdateDhcpOptionsSetAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
dhcpOptionsSetDescription
Enter a description for the DHCP options set.
|
String |
dhcpOptionsSetId
The ID of the DHCP options set.
|
String |
dhcpOptionsSetName
The name of the DHCP options set.
|
String |
domainName
The root domain.
|
String |
domainNameServers
The IP address of the DNS server.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
String |
ipv6LeaseTime
The lease time of the IPv6 addresses for the DHCP options set.
|
String |
leaseTime
The lease time of the IPv4 addresses for the DHCP options set.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region where the DHCP options set is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
UpdateDhcpOptionsSetAttributeRequest() |
@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 token can contain only ASCII characters.
example:If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@NameInMap(value="DhcpOptionsSetDescription") public String dhcpOptionsSetDescription
Enter a description for the DHCP options set.
The description must be 2 to 256 characters in length. It must start with a letter and cannot start with http://
or https://
. You can also leave the description empty.
description
@NameInMap(value="DhcpOptionsSetId") public String dhcpOptionsSetId
The ID of the DHCP options set.
This parameter is required.
example:dopt-o6w0df4epg9zo8isy****
@NameInMap(value="DhcpOptionsSetName") public String dhcpOptionsSetName
The name of the DHCP options set.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
example:name
@NameInMap(value="DomainName") public String domainName
The root domain. For example, you can set the value to example.com.
After a DHCP options set is associated with a virtual private cloud (VPC), the root domain in the DHCP options set is automatically synchronized with the ECS instances in the VPC.
example:example.com
@NameInMap(value="DomainNameServers") public String domainNameServers
The IP address of the DNS server. You can enter at most four DNS server IP addresses. Separate IP addresses with commas (,).
example:If you do not specify a DNS server IP address, Elastic Compute Service (ECS) instances use the IP addresses of the Alibaba Cloud DNS servers, which are 100.100.2.136 and 100.100.2.138.
192.XX.XX.123
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
true: performs a dry run. The system checks the required parameters, request format, and limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation
error code is returned.
false (default): performs a dry run and sends the request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
example:false
@NameInMap(value="Ipv6LeaseTime") public String ipv6LeaseTime
The lease time of the IPv6 addresses for the DHCP options set.
example:If you specify a value, you must also specify the unit.
3650d
@NameInMap(value="LeaseTime") public String leaseTime
The lease time of the IPv4 addresses for the DHCP options set.
example:If you specify a value, you must also specify the unit.
3650d
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region where the DHCP options set is deployed. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static UpdateDhcpOptionsSetAttributeRequest build(Map<String,?> map) throws Exception
Exception
public UpdateDhcpOptionsSetAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateDhcpOptionsSetAttributeRequest setDhcpOptionsSetDescription(String dhcpOptionsSetDescription)
public String getDhcpOptionsSetDescription()
public UpdateDhcpOptionsSetAttributeRequest setDhcpOptionsSetId(String dhcpOptionsSetId)
public String getDhcpOptionsSetId()
public UpdateDhcpOptionsSetAttributeRequest setDhcpOptionsSetName(String dhcpOptionsSetName)
public String getDhcpOptionsSetName()
public UpdateDhcpOptionsSetAttributeRequest setDomainName(String domainName)
public String getDomainName()
public UpdateDhcpOptionsSetAttributeRequest setDomainNameServers(String domainNameServers)
public String getDomainNameServers()
public UpdateDhcpOptionsSetAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateDhcpOptionsSetAttributeRequest setIpv6LeaseTime(String ipv6LeaseTime)
public String getIpv6LeaseTime()
public UpdateDhcpOptionsSetAttributeRequest setLeaseTime(String leaseTime)
public String getLeaseTime()
public UpdateDhcpOptionsSetAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public UpdateDhcpOptionsSetAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateDhcpOptionsSetAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateDhcpOptionsSetAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public UpdateDhcpOptionsSetAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.