public static class ProtectedRange.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ProtectedRange |
build() |
ProtectedRange.Builder |
description(String description)
保护范围描述
示例值:这是一个保护范围
|
ProtectedRange.Builder |
editors(ProtectedRangeEditors editors)
保护范围可编辑用户
示例值:
|
ProtectedRange.Builder |
protectedColumns(ProtectedColumns protectedColumns)
保护列范围
示例值:
|
ProtectedRange.Builder |
protectedDimension(ProtectedRangeProtectedDimensionEnum protectedDimension)
保护类型
示例值:Rows
|
ProtectedRange.Builder |
protectedDimension(String protectedDimension)
保护类型
示例值:Rows
|
ProtectedRange.Builder |
protectedId(String protectedId)
保护范围ID
示例值:1650435126216662
|
ProtectedRange.Builder |
protectedRows(ProtectedRows protectedRows)
保护行范围
示例值:
|
ProtectedRange.Builder |
protectedSheet(ProtectedSheet protectedSheet)
保护工作表范围
示例值:
|
public ProtectedRange.Builder protectedId(String protectedId)
示例值:1650435126216662
protectedId - public ProtectedRange.Builder description(String description)
示例值:这是一个保护范围
description - public ProtectedRange.Builder protectedDimension(String protectedDimension)
示例值:Rows
protectedDimension - public ProtectedRange.Builder protectedDimension(ProtectedRangeProtectedDimensionEnum protectedDimension)
示例值:Rows
protectedDimension - ProtectedRangeProtectedDimensionEnumpublic ProtectedRange.Builder protectedRows(ProtectedRows protectedRows)
示例值:
protectedRows - public ProtectedRange.Builder protectedColumns(ProtectedColumns protectedColumns)
示例值:
protectedColumns - public ProtectedRange.Builder protectedSheet(ProtectedSheet protectedSheet)
示例值:
protectedSheet - public ProtectedRange.Builder editors(ProtectedRangeEditors editors)
示例值:
editors - public ProtectedRange build()
Copyright © 2024. All rights reserved.