Class CompareLineResult.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.CompareLineResult.Builder
 
- 
- Enclosing class:
- CompareLineResult
 
 public static class CompareLineResult.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompareLineResultbuild()CompareLineResult.Buildercopy(CompareLineResult model)CompareLineResult.BuilderdiffType(String diffType)The result of the line comparison.CompareLineResult.BuilderleftContent(String leftContent)A line from the content on the left.CompareLineResult.BuilderleftIndices(String leftIndices)A comma delimited set of indices that identify which characters are different from those in the right string.CompareLineResult.BuilderrightContent(String rightContent)A line from the content on the right.CompareLineResult.BuilderrightIndices(String rightIndices)A comma delimited set of indices that identify which characters are different from those in the left string.
 
- 
- 
- 
Method Detail- 
leftContentpublic 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
 
 - 
rightContentpublic 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
 
 - 
diffTypepublic 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
 
 - 
leftIndicespublic 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
 
 - 
rightIndicespublic 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
 
 - 
buildpublic CompareLineResult build() 
 - 
copypublic CompareLineResult.Builder copy(CompareLineResult model) 
 
- 
 
-