Interface GuardrailAutomatedReasoningFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailAutomatedReasoningFinding.Builder,
,GuardrailAutomatedReasoningFinding> SdkBuilder<GuardrailAutomatedReasoningFinding.Builder,
,GuardrailAutomatedReasoningFinding> SdkPojo
- Enclosing class:
GuardrailAutomatedReasoningFinding
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Impossible property for this object.Sets the value of the Impossible property for this object.Sets the value of the Invalid property for this object.Sets the value of the Invalid property for this object.Sets the value of the NoTranslations property for this object.noTranslations
(GuardrailAutomatedReasoningNoTranslationsFinding noTranslations) Sets the value of the NoTranslations property for this object.Sets the value of the Satisfiable property for this object.satisfiable
(GuardrailAutomatedReasoningSatisfiableFinding satisfiable) Sets the value of the Satisfiable property for this object.Sets the value of the TooComplex property for this object.Sets the value of the TooComplex property for this object.translationAmbiguous
(Consumer<GuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder> translationAmbiguous) Sets the value of the TranslationAmbiguous property for this object.translationAmbiguous
(GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous) Sets the value of the TranslationAmbiguous property for this object.Sets the value of the Valid property for this object.Sets the value of the Valid property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
valid
Sets the value of the Valid property for this object.- Parameters:
valid
- The new value for the Valid property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valid
default GuardrailAutomatedReasoningFinding.Builder valid(Consumer<GuardrailAutomatedReasoningValidFinding.Builder> valid) Sets the value of the Valid property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningValidFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningValidFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalid(GuardrailAutomatedReasoningValidFinding)
.- Parameters:
valid
- a consumer that will call methods onGuardrailAutomatedReasoningValidFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invalid
GuardrailAutomatedReasoningFinding.Builder invalid(GuardrailAutomatedReasoningInvalidFinding invalid) Sets the value of the Invalid property for this object.- Parameters:
invalid
- The new value for the Invalid property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalid
default GuardrailAutomatedReasoningFinding.Builder invalid(Consumer<GuardrailAutomatedReasoningInvalidFinding.Builder> invalid) Sets the value of the Invalid property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningInvalidFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningInvalidFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvalid(GuardrailAutomatedReasoningInvalidFinding)
.- Parameters:
invalid
- a consumer that will call methods onGuardrailAutomatedReasoningInvalidFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
satisfiable
GuardrailAutomatedReasoningFinding.Builder satisfiable(GuardrailAutomatedReasoningSatisfiableFinding satisfiable) Sets the value of the Satisfiable property for this object.- Parameters:
satisfiable
- The new value for the Satisfiable property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
satisfiable
default GuardrailAutomatedReasoningFinding.Builder satisfiable(Consumer<GuardrailAutomatedReasoningSatisfiableFinding.Builder> satisfiable) Sets the value of the Satisfiable property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningSatisfiableFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningSatisfiableFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosatisfiable(GuardrailAutomatedReasoningSatisfiableFinding)
.- Parameters:
satisfiable
- a consumer that will call methods onGuardrailAutomatedReasoningSatisfiableFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impossible
GuardrailAutomatedReasoningFinding.Builder impossible(GuardrailAutomatedReasoningImpossibleFinding impossible) Sets the value of the Impossible property for this object.- Parameters:
impossible
- The new value for the Impossible property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impossible
default GuardrailAutomatedReasoningFinding.Builder impossible(Consumer<GuardrailAutomatedReasoningImpossibleFinding.Builder> impossible) Sets the value of the Impossible property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningImpossibleFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningImpossibleFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimpossible(GuardrailAutomatedReasoningImpossibleFinding)
.- Parameters:
impossible
- a consumer that will call methods onGuardrailAutomatedReasoningImpossibleFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
translationAmbiguous
GuardrailAutomatedReasoningFinding.Builder translationAmbiguous(GuardrailAutomatedReasoningTranslationAmbiguousFinding translationAmbiguous) Sets the value of the TranslationAmbiguous property for this object.- Parameters:
translationAmbiguous
- The new value for the TranslationAmbiguous property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
translationAmbiguous
default GuardrailAutomatedReasoningFinding.Builder translationAmbiguous(Consumer<GuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder> translationAmbiguous) Sets the value of the TranslationAmbiguous property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningTranslationAmbiguousFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totranslationAmbiguous(GuardrailAutomatedReasoningTranslationAmbiguousFinding)
.- Parameters:
translationAmbiguous
- a consumer that will call methods onGuardrailAutomatedReasoningTranslationAmbiguousFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tooComplex
GuardrailAutomatedReasoningFinding.Builder tooComplex(GuardrailAutomatedReasoningTooComplexFinding tooComplex) Sets the value of the TooComplex property for this object.- Parameters:
tooComplex
- The new value for the TooComplex property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tooComplex
default GuardrailAutomatedReasoningFinding.Builder tooComplex(Consumer<GuardrailAutomatedReasoningTooComplexFinding.Builder> tooComplex) Sets the value of the TooComplex property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningTooComplexFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningTooComplexFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totooComplex(GuardrailAutomatedReasoningTooComplexFinding)
.- Parameters:
tooComplex
- a consumer that will call methods onGuardrailAutomatedReasoningTooComplexFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noTranslations
GuardrailAutomatedReasoningFinding.Builder noTranslations(GuardrailAutomatedReasoningNoTranslationsFinding noTranslations) Sets the value of the NoTranslations property for this object.- Parameters:
noTranslations
- The new value for the NoTranslations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noTranslations
default GuardrailAutomatedReasoningFinding.Builder noTranslations(Consumer<GuardrailAutomatedReasoningNoTranslationsFinding.Builder> noTranslations) Sets the value of the NoTranslations property for this object. This is a convenience method that creates an instance of theGuardrailAutomatedReasoningNoTranslationsFinding.Builder
avoiding the need to create one manually viaGuardrailAutomatedReasoningNoTranslationsFinding.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonoTranslations(GuardrailAutomatedReasoningNoTranslationsFinding)
.- Parameters:
noTranslations
- a consumer that will call methods onGuardrailAutomatedReasoningNoTranslationsFinding.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-