public class CreateVpcGatewayEndpointRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVpcGatewayEndpointRequest.CreateVpcGatewayEndpointRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
endpointDescription
The description of the gateway endpoint.
|
String |
endpointName
The name of the gateway endpoint.
|
String |
ownerAccount |
Long |
ownerId |
String |
policyDocument
The access policy for the cloud service.
|
String |
regionId
The region ID of the gateway endpoint.
|
String |
resourceGroupId
The ID of the resource group to which the gateway endpoint belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
serviceName
The name of the endpoint service.
|
List<CreateVpcGatewayEndpointRequest.CreateVpcGatewayEndpointRequestTag> |
tag
The tags of the resource.
|
String |
vpcId
The ID of the virtual private cloud (VPC) where you want to create the gateway endpoint.
|
构造器和说明 |
---|
CreateVpcGatewayEndpointRequest() |
@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.
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
example:5A2CFF0E-5718-45B5-9D4D-70B3FF3898
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="EndpointDescription") public String endpointDescription
The description of the gateway endpoint.
The description must be 1 to 255 characters in length.
example:test
@NameInMap(value="EndpointName") public String endpointName
The name of the gateway endpoint.
The name must be 1 to 128 characters in length.
example:test
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PolicyDocument") public String policyDocument
The access policy for the cloud service.
For more information about the syntax and structure of the access policy, see Policy syntax and structure.
example:{ "Version" : "1", "Statement" : [ { "Effect" : "Allow", "Resource" : [ "" ], "Action" : [ "" ], "Principal" : [ "*" ] } ] }
@NameInMap(value="RegionId") public String regionId
The region ID of the gateway endpoint.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the gateway endpoint belongs.
example:rg-acfmxazb4ph****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ServiceName") public String serviceName
The name of the endpoint service.
This parameter is required.
example:com.aliyun.cn-hangzhou.oss
@NameInMap(value="Tag") public List<CreateVpcGatewayEndpointRequest.CreateVpcGatewayEndpointRequestTag> tag
The tags of the resource.
@NameInMap(value="VpcId") public String vpcId
The ID of the virtual private cloud (VPC) where you want to create the gateway endpoint.
The VPC and gateway endpoint must be deployed in the same region.
This parameter is required.
example:vpc-bp1gsk7h12ew7oegk****
public static CreateVpcGatewayEndpointRequest build(Map<String,?> map) throws Exception
Exception
public CreateVpcGatewayEndpointRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVpcGatewayEndpointRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateVpcGatewayEndpointRequest setEndpointDescription(String endpointDescription)
public String getEndpointDescription()
public CreateVpcGatewayEndpointRequest setEndpointName(String endpointName)
public String getEndpointName()
public CreateVpcGatewayEndpointRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVpcGatewayEndpointRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVpcGatewayEndpointRequest setPolicyDocument(String policyDocument)
public String getPolicyDocument()
public CreateVpcGatewayEndpointRequest setRegionId(String regionId)
public String getRegionId()
public CreateVpcGatewayEndpointRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateVpcGatewayEndpointRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVpcGatewayEndpointRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVpcGatewayEndpointRequest setServiceName(String serviceName)
public String getServiceName()
public CreateVpcGatewayEndpointRequest setTag(List<CreateVpcGatewayEndpointRequest.CreateVpcGatewayEndpointRequestTag> tag)
public List<CreateVpcGatewayEndpointRequest.CreateVpcGatewayEndpointRequestTag> getTag()
public CreateVpcGatewayEndpointRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.