Class CompareLineResult.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.CompareLineResult.Builder
-
- Enclosing class:
- CompareLineResult
public static class CompareLineResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompareLineResult
build()
CompareLineResult.Builder
copy(CompareLineResult model)
CompareLineResult.Builder
diffType(String diffType)
The result of the line comparison.CompareLineResult.Builder
leftContent(String leftContent)
A line from the content on the left.CompareLineResult.Builder
leftIndices(String leftIndices)
A comma delimited set of indices that identify which characters are different from those in the right string.CompareLineResult.Builder
rightContent(String rightContent)
A line from the content on the right.CompareLineResult.Builder
rightIndices(String rightIndices)
A comma delimited set of indices that identify which characters are different from those in the left string.
-
-
-
Method Detail
-
leftContent
public CompareLineResult.Builder leftContent(String leftContent)
A line from the content on the left.This may be empty if there is no matching line on the left for a line in the right content.
- Parameters:
leftContent
- the value to set- Returns:
- this builder
-
rightContent
public CompareLineResult.Builder rightContent(String rightContent)
A line from the content on the right.This may be empty if there is no matching line on the right for a line in the left content.
- Parameters:
rightContent
- the value to set- Returns:
- this builder
-
diffType
public CompareLineResult.Builder diffType(String diffType)
The result of the line comparison.An empty string means the lines being compared are the same. A pipe, |, means the lines are different, and a caret, > or <, means the line is only found either on the right or the left.
- Parameters:
diffType
- the value to set- Returns:
- this builder
-
leftIndices
public CompareLineResult.Builder leftIndices(String leftIndices)
A comma delimited set of indices that identify which characters are different from those in the right string.- Parameters:
leftIndices
- the value to set- Returns:
- this builder
-
rightIndices
public CompareLineResult.Builder rightIndices(String rightIndices)
A comma delimited set of indices that identify which characters are different from those in the left string.- Parameters:
rightIndices
- the value to set- Returns:
- this builder
-
build
public CompareLineResult build()
-
copy
public CompareLineResult.Builder copy(CompareLineResult model)
-
-