Class OsCommandQueryProperties.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.OsCommandQueryProperties.Builder
-
- Enclosing class:
- OsCommandQueryProperties
public static class OsCommandQueryProperties.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsCommandQueryProperties.Builder
arguments(String arguments)
Arguments required by either command or scriptOsCommandQueryProperties
build()
OsCommandQueryProperties.Builder
command(String command)
OS command to execute without argumentsOsCommandQueryProperties.Builder
copy(OsCommandQueryProperties model)
OsCommandQueryProperties.Builder
delimiter(String delimiter)
Character used to delimit multiple metric values in single line of outputOsCommandQueryProperties.Builder
scriptDetails(ScriptFileDetails scriptDetails)
OsCommandQueryProperties.Builder
startsWith(String startsWith)
String prefix used to identify metric output of the OS Command
-
-
-
Method Detail
-
command
public OsCommandQueryProperties.Builder command(String command)
OS command to execute without arguments- Parameters:
command
- the value to set- Returns:
- this builder
-
delimiter
public OsCommandQueryProperties.Builder delimiter(String delimiter)
Character used to delimit multiple metric values in single line of output- Parameters:
delimiter
- the value to set- Returns:
- this builder
-
scriptDetails
public OsCommandQueryProperties.Builder scriptDetails(ScriptFileDetails scriptDetails)
-
arguments
public OsCommandQueryProperties.Builder arguments(String arguments)
Arguments required by either command or script- Parameters:
arguments
- the value to set- Returns:
- this builder
-
startsWith
public OsCommandQueryProperties.Builder startsWith(String startsWith)
String prefix used to identify metric output of the OS Command- Parameters:
startsWith
- the value to set- Returns:
- this builder
-
build
public OsCommandQueryProperties build()
-
copy
public OsCommandQueryProperties.Builder copy(OsCommandQueryProperties model)
-
-