Interface AutomatedReasoningPolicyAtomicStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyAtomicStatement.Builder,,AutomatedReasoningPolicyAtomicStatement> SdkBuilder<AutomatedReasoningPolicyAtomicStatement.Builder,,AutomatedReasoningPolicyAtomicStatement> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyAtomicStatement
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyAtomicStatement.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyAtomicStatement.Builder,AutomatedReasoningPolicyAtomicStatement>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier for this atomic statement within the fidelity report.Information about where this statement appears in the source document, including line numbers.Information about where this statement appears in the source document, including line numbers.The actual text content of the atomic statement as extracted from the source document.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
-
id
A unique identifier for this atomic statement within the fidelity report.
- Parameters:
id- A unique identifier for this atomic statement within the fidelity report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The actual text content of the atomic statement as extracted from the source document.
- Parameters:
text- The actual text content of the atomic statement as extracted from the source document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
AutomatedReasoningPolicyAtomicStatement.Builder location(AutomatedReasoningPolicyStatementLocation location) Information about where this statement appears in the source document, including line numbers.
- Parameters:
location- Information about where this statement appears in the source document, including line numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default AutomatedReasoningPolicyAtomicStatement.Builder location(Consumer<AutomatedReasoningPolicyStatementLocation.Builder> location) Information about where this statement appears in the source document, including line numbers.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyStatementLocation.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyStatementLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(AutomatedReasoningPolicyStatementLocation).- Parameters:
location- a consumer that will call methods onAutomatedReasoningPolicyStatementLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-