public class CreateIpv6EgressOnlyRuleRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the egress-only rule.
|
String |
instanceId
The ID of the IPv6 address for which you want to create an egress-only rule.
|
String |
instanceType
The type of the instance for which you want to create an egress-only rule.
|
String |
ipv6GatewayId
The ID of the IPv6 gateway.
|
String |
name
The name of the egress-only rule.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region in which the IPv6 gateway is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
CreateIpv6EgressOnlyRuleRequest() |
@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 a token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
example:If you do not specify this parameter, the system automatically uses the value of RequestId as the client token. The value of RequestId is different for each API request.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@NameInMap(value="Description") public String description
The description of the egress-only rule.
The description must be 2 to 256 characters in length and cannot start with http://
or https://
.
ruledescription
@NameInMap(value="InstanceId") public String instanceId
The ID of the IPv6 address for which you want to create an egress-only rule.
This parameter is required.
example:ipv6-hp3nxjkfxn5pnhgl5****
@NameInMap(value="InstanceType") public String instanceType
The type of the instance for which you want to create an egress-only rule.
Default value: Ipv6Address
example:Ipv6Address
@NameInMap(value="Ipv6GatewayId") public String ipv6GatewayId
The ID of the IPv6 gateway.
This parameter is required.
example:ipv6gw-hp3c2paq0ywauasza****
@NameInMap(value="Name") public String name
The name of the egress-only rule.
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 but cannot start with http://
or https://
.
rulename
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region in which the IPv6 gateway is deployed.
You can call the DescribeRegions operation to query the region ID.
This parameter is required.
example:cn-huhehaote
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static CreateIpv6EgressOnlyRuleRequest build(Map<String,?> map) throws Exception
Exception
public CreateIpv6EgressOnlyRuleRequest setClientToken(String clientToken)
public String getClientToken()
public CreateIpv6EgressOnlyRuleRequest setDescription(String description)
public String getDescription()
public CreateIpv6EgressOnlyRuleRequest setInstanceId(String instanceId)
public String getInstanceId()
public CreateIpv6EgressOnlyRuleRequest setInstanceType(String instanceType)
public String getInstanceType()
public CreateIpv6EgressOnlyRuleRequest setIpv6GatewayId(String ipv6GatewayId)
public String getIpv6GatewayId()
public CreateIpv6EgressOnlyRuleRequest setName(String name)
public String getName()
public CreateIpv6EgressOnlyRuleRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateIpv6EgressOnlyRuleRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateIpv6EgressOnlyRuleRequest setRegionId(String regionId)
public String getRegionId()
public CreateIpv6EgressOnlyRuleRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateIpv6EgressOnlyRuleRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.