Interface SubstituteStringEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubstituteStringEntry.Builder,SubstituteStringEntry>,SdkBuilder<SubstituteStringEntry.Builder,SubstituteStringEntry>,SdkPojo
- Enclosing class:
- SubstituteStringEntry
public static interface SubstituteStringEntry.Builder extends SdkPojo, CopyableBuilder<SubstituteStringEntry.Builder,SubstituteStringEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubstituteStringEntry.Builderfrom(String from)The regular expression string to be replaced.SubstituteStringEntry.Buildersource(String source)The key to modifySubstituteStringEntry.Builderto(String to)The string to be substituted for each match offrom-
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
-
source
SubstituteStringEntry.Builder source(String source)
The key to modify
- Parameters:
source- The key to modify- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
from
SubstituteStringEntry.Builder from(String from)
The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.
- Parameters:
from- The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
SubstituteStringEntry.Builder to(String to)
The string to be substituted for each match of
from- Parameters:
to- The string to be substituted for each match offrom- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-