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 RunLogSummarybuild()RunLogSummary.Buildercopy(RunLogSummary model)RunLogSummary.Buildername(String name)The name of the log.RunLogSummary.BuilderrunId(String runId)The runId associated with the log.RunLogSummary.BuildersizeInBytes(Long sizeInBytes)The size of the object in bytes.RunLogSummary.Buildersource(RunLogSummary.Source source)The source of the log such as driver and executor.RunLogSummary.BuildertimeCreated(Date timeCreated)The date and time the object was created, as described in RFC 2616, section 14.29.RunLogSummary.Buildertype(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)
-
-