public static final class CreateProjectRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateProjectRequest |
build() |
CreateProjectRequest.Builder |
dataRedundancyType(String dataRedundancyType)
The disaster recovery type.
|
CreateProjectRequest.Builder |
description(String description)
The description of the project.
|
CreateProjectRequest.Builder |
projectName(String projectName)
The project name must be unique in a region.
|
CreateProjectRequest.Builder |
recycleBinEnabled(Boolean recycleBinEnabled)
Specifies whether to enable the recycle bin feature.
|
CreateProjectRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
public CreateProjectRequest.Builder dataRedundancyType(String dataRedundancyType)
The disaster recovery type. Valid values:
LRS
public CreateProjectRequest.Builder description(String description)
The description of the project.
This parameter is required.
example:this is test
public CreateProjectRequest.Builder projectName(String projectName)
The project name must be unique in a region. You cannot change the name after you create the project. The name must meet the following requirements:
This parameter is required.
example:test-project
public CreateProjectRequest.Builder recycleBinEnabled(Boolean recycleBinEnabled)
Specifies whether to enable the recycle bin feature.
Valid values:
true
public CreateProjectRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group.
example:rg-aekzf******sxby
public CreateProjectRequest build()
Copyright © 2025. All rights reserved.