Interface DiffChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DiffChange.Builder,,DiffChange> SdkBuilder<DiffChange.Builder,,DiffChange> SdkPojo
- Enclosing class:
DiffChange
-
Method Summary
Modifier and TypeMethodDescriptionafterLineNumber(Integer afterLineNumber) The 1-based line number in the after blob.beforeLineNumber(Integer beforeLineNumber) The 1-based line number in the before blob.The text content of the line, without the trailing newline.The type of change for this line.type(DiffChangeType type) The type of change for this line.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of change for this line. Possible values:
-
CONTEXT– Unchanged line included for surrounding context. -
ADD– Line added in the after blob. -
DELETE– Line removed from the before blob.
- Parameters:
type- The type of change for this line. Possible values:-
CONTEXT– Unchanged line included for surrounding context. -
ADD– Line added in the after blob. -
DELETE– Line removed from the before blob.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of change for this line. Possible values:
-
CONTEXT– Unchanged line included for surrounding context. -
ADD– Line added in the after blob. -
DELETE– Line removed from the before blob.
- Parameters:
type- The type of change for this line. Possible values:-
CONTEXT– Unchanged line included for surrounding context. -
ADD– Line added in the after blob. -
DELETE– Line removed from the before blob.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
beforeLineNumber
The 1-based line number in the before blob. This field is omitted for
ADDlines.- Parameters:
beforeLineNumber- The 1-based line number in the before blob. This field is omitted forADDlines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
afterLineNumber
The 1-based line number in the after blob. This field is omitted for
DELETElines.- Parameters:
afterLineNumber- The 1-based line number in the after blob. This field is omitted forDELETElines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The text content of the line, without the trailing newline.
- Parameters:
content- The text content of the line, without the trailing newline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-