Interface SubstituteString.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubstituteString.Builder,
,SubstituteString> SdkBuilder<SubstituteString.Builder,
,SubstituteString> SdkPojo
- Enclosing class:
SubstituteString
@Mutable
@NotThreadSafe
public static interface SubstituteString.Builder
extends SdkPojo, CopyableBuilder<SubstituteString.Builder,SubstituteString>
-
Method Summary
Modifier and TypeMethodDescriptionentries
(Collection<SubstituteStringEntry> entries) An array of objects, where each object contains the information about one key to match and replace.entries
(Consumer<SubstituteStringEntry.Builder>... entries) An array of objects, where each object contains the information about one key to match and replace.entries
(SubstituteStringEntry... entries) An array of objects, where each object contains the information about one key to match and replace.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
-
entries
An array of objects, where each object contains the information about one key to match and replace.
- Parameters:
entries
- An array of objects, where each object contains the information about one key to match and replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of objects, where each object contains the information about one key to match and replace.
- Parameters:
entries
- An array of objects, where each object contains the information about one key to match and replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of objects, where each object contains the information about one key to match and replace.
This is a convenience method that creates an instance of theSubstituteStringEntry.Builder
avoiding the need to create one manually viaSubstituteStringEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<SubstituteStringEntry>)
.- Parameters:
entries
- a consumer that will call methods onSubstituteStringEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-