Interface SubstituteString.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubstituteString.Builder,SubstituteString>,SdkBuilder<SubstituteString.Builder,SubstituteString>,SdkPojo
- Enclosing class:
- SubstituteString
public static interface SubstituteString.Builder extends SdkPojo, CopyableBuilder<SubstituteString.Builder,SubstituteString>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubstituteString.Builderentries(Collection<SubstituteStringEntry> entries)An array of objects, where each object contains the information about one key to match and replace.SubstituteString.Builderentries(Consumer<SubstituteStringEntry.Builder>... entries)An array of objects, where each object contains the information about one key to match and replace.SubstituteString.Builderentries(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 Detail
-
entries
SubstituteString.Builder entries(Collection<SubstituteStringEntry> 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
SubstituteString.Builder entries(SubstituteStringEntry... 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
SubstituteString.Builder entries(Consumer<SubstituteStringEntry.Builder>... 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.Builderavoiding the need to create one manually viaSubstituteStringEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - 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:
#entries(java.util.Collection)
-
-