Package com.oracle.bmc.dataflow.model
Class RunLogSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.RunLogSummary.Builder
-
- Enclosing class:
- RunLogSummary
public static class RunLogSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunLogSummary
build()
RunLogSummary.Builder
copy(RunLogSummary model)
RunLogSummary.Builder
name(String name)
The name of the log.RunLogSummary.Builder
runId(String runId)
The runId associated with the log.RunLogSummary.Builder
sizeInBytes(Long sizeInBytes)
The size of the object in bytes.RunLogSummary.Builder
source(RunLogSummary.Source source)
The source of the log such as driver and executor.RunLogSummary.Builder
timeCreated(Date timeCreated)
The date and time the object was created, as described in RFC 2616, section 14.29.RunLogSummary.Builder
type(RunLogSummary.Type type)
The type of log such as stdout and stderr.
-
-
-
Method Detail
-
name
public RunLogSummary.Builder name(String name)
The name of the log.Example: spark_driver_stderr_20190917T114000Z.log.gz
- Parameters:
name
- the value to set- Returns:
- this builder
-
runId
public RunLogSummary.Builder runId(String runId)
The runId associated with the log.- Parameters:
runId
- the value to set- Returns:
- this builder
-
sizeInBytes
public RunLogSummary.Builder sizeInBytes(Long sizeInBytes)
The size of the object in bytes.- Parameters:
sizeInBytes
- the value to set- Returns:
- this builder
-
source
public RunLogSummary.Builder source(RunLogSummary.Source source)
The source of the log such as driver and executor.- Parameters:
source
- the value to set- Returns:
- this builder
-
timeCreated
public RunLogSummary.Builder timeCreated(Date timeCreated)
The date and time the object was created, as described in RFC 2616, section 14.29.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
type
public RunLogSummary.Builder type(RunLogSummary.Type type)
The type of log such as stdout and stderr.- Parameters:
type
- the value to set- Returns:
- this builder
-
build
public RunLogSummary build()
-
copy
public RunLogSummary.Builder copy(RunLogSummary model)
-
-