public static final class CreateCenRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateCenRequest |
build() |
CreateCenRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateCenRequest.Builder |
description(String description)
The description of the CEN instance.
|
CreateCenRequest.Builder |
name(String name)
The name of the CEN instance.
|
CreateCenRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateCenRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateCenRequest.Builder |
protectionLevel(String protectionLevel)
The level of CIDR block overlapping.
|
CreateCenRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateCenRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateCenRequest.Builder |
tag(List<CreateCenRequest.Tag> tag)
The tags.
|
public CreateCenRequest.Builder clientToken(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 client token can contain only ASCII characters.
example: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.
02fb3da4-130e-11e9-8e44-001****
public CreateCenRequest.Builder description(String description)
The description of the CEN instance.
The description can be empty or 1 to 256 characters in length and cannot start with http:// or https://.
example:testdesc
public CreateCenRequest.Builder name(String name)
The name of the CEN instance.
The name can be empty or 1 to 128 characters in length and cannot start with http:// or https://.
example:testname
public CreateCenRequest.Builder ownerAccount(String ownerAccount)
public CreateCenRequest.Builder ownerId(Long ownerId)
public CreateCenRequest.Builder protectionLevel(String protectionLevel)
The level of CIDR block overlapping.
Set the value to REDUCED (default). This value specifies that CIDR blocks can overlap but cannot be the same.
example:REDUCED
public CreateCenRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateCenRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateCenRequest.Builder tag(List<CreateCenRequest.Tag> tag)
The tags.
You can specify up to 20 tags in each call.
public CreateCenRequest build()
Copyright © 2025. All rights reserved.