public static class RunLogSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public RunLogSummary.Builder name(String name)
The name of the log. Example: spark_driver_stderr_20190917T114000Z.log.gz
name
- the value to setpublic RunLogSummary.Builder runId(String runId)
The runId associated with the log.
runId
- the value to setpublic RunLogSummary.Builder sizeInBytes(Long sizeInBytes)
The size of the object in bytes.
sizeInBytes
- the value to setpublic RunLogSummary.Builder source(RunLogSummary.Source source)
The source of the log such as driver and executor.
source
- the value to setpublic RunLogSummary.Builder timeCreated(Date timeCreated)
The date and time the object was created, as described in RFC 2616, section 14.29.
timeCreated
- the value to setpublic RunLogSummary.Builder type(RunLogSummary.Type type)
The type of log such as stdout and stderr.
type
- the value to setpublic RunLogSummary build()
public RunLogSummary.Builder copy(RunLogSummary model)
Copyright © 2016–2024. All rights reserved.