public static class DatabaseTool.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseTool |
build() |
DatabaseTool.Builder |
computeCount(Float computeCount)
Compute used by database tools.
|
DatabaseTool.Builder |
copy(DatabaseTool model) |
DatabaseTool.Builder |
isEnabled(Boolean isEnabled)
Indicates whether tool is enabled.
|
DatabaseTool.Builder |
maxIdleTimeInMinutes(Integer maxIdleTimeInMinutes)
The max idle time, in minutes, after which the VM used by database tools will be
terminated.
|
DatabaseTool.Builder |
name(DatabaseTool.Name name)
Name of database tool.
|
public DatabaseTool.Builder name(DatabaseTool.Name name)
Name of database tool.
name
- the value to setpublic DatabaseTool.Builder isEnabled(Boolean isEnabled)
Indicates whether tool is enabled.
isEnabled
- the value to setpublic DatabaseTool.Builder computeCount(Float computeCount)
Compute used by database tools.
computeCount
- the value to setpublic DatabaseTool.Builder maxIdleTimeInMinutes(Integer maxIdleTimeInMinutes)
The max idle time, in minutes, after which the VM used by database tools will be terminated.
maxIdleTimeInMinutes
- the value to setpublic DatabaseTool build()
public DatabaseTool.Builder copy(DatabaseTool model)
Copyright © 2016–2024. All rights reserved.