Interface GuardrailCoverage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailCoverage.Builder,
,GuardrailCoverage> SdkBuilder<GuardrailCoverage.Builder,
,GuardrailCoverage> SdkPojo
- Enclosing class:
GuardrailCoverage
@Mutable
@NotThreadSafe
public static interface GuardrailCoverage.Builder
extends SdkPojo, CopyableBuilder<GuardrailCoverage.Builder,GuardrailCoverage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GuardrailCoverage.Builder
images
(Consumer<GuardrailImageCoverage.Builder> images) The guardrail coverage for images (the number of images that guardrails guarded).images
(GuardrailImageCoverage images) The guardrail coverage for images (the number of images that guardrails guarded).default GuardrailCoverage.Builder
textCharacters
(Consumer<GuardrailTextCharactersCoverage.Builder> textCharacters) The text characters of the guardrail coverage details.textCharacters
(GuardrailTextCharactersCoverage textCharacters) The text characters of the guardrail coverage details.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
-
textCharacters
The text characters of the guardrail coverage details.
- Parameters:
textCharacters
- The text characters of the guardrail coverage details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textCharacters
default GuardrailCoverage.Builder textCharacters(Consumer<GuardrailTextCharactersCoverage.Builder> textCharacters) The text characters of the guardrail coverage details.
This is a convenience method that creates an instance of theGuardrailTextCharactersCoverage.Builder
avoiding the need to create one manually viaGuardrailTextCharactersCoverage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextCharacters(GuardrailTextCharactersCoverage)
.- Parameters:
textCharacters
- a consumer that will call methods onGuardrailTextCharactersCoverage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
images
The guardrail coverage for images (the number of images that guardrails guarded).
- Parameters:
images
- The guardrail coverage for images (the number of images that guardrails guarded).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
images
The guardrail coverage for images (the number of images that guardrails guarded).
This is a convenience method that creates an instance of theGuardrailImageCoverage.Builder
avoiding the need to create one manually viaGuardrailImageCoverage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimages(GuardrailImageCoverage)
.- Parameters:
images
- a consumer that will call methods onGuardrailImageCoverage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-