Interface IssueDetected.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IssueDetected.Builder,
,IssueDetected> SdkBuilder<IssueDetected.Builder,
,IssueDetected> SdkPojo
- Enclosing class:
IssueDetected
public static interface IssueDetected.Builder
extends SdkPojo, CopyableBuilder<IssueDetected.Builder,IssueDetected>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IssueDetected.Builder
characterOffsets
(Consumer<CharacterOffsets.Builder> characterOffsets) The offset for when the issue was detected in the segment.characterOffsets
(CharacterOffsets characterOffsets) The offset for when the issue was detected in the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
characterOffsets
The offset for when the issue was detected in the segment.
- Parameters:
characterOffsets
- The offset for when the issue was detected in the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
characterOffsets
The offset for when the issue was detected in the segment.
This is a convenience method that creates an instance of theCharacterOffsets.Builder
avoiding the need to create one manually viaCharacterOffsets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocharacterOffsets(CharacterOffsets)
.- Parameters:
characterOffsets
- a consumer that will call methods onCharacterOffsets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-