Interface RewriteConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RewriteConfig.Builder,
,RewriteConfig> SdkBuilder<RewriteConfig.Builder,
,RewriteConfig> SdkPojo
- Enclosing class:
RewriteConfig
@Mutable
@NotThreadSafe
public static interface RewriteConfig.Builder
extends SdkPojo, CopyableBuilder<RewriteConfig.Builder,RewriteConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe regular expression to match in the input string.The replacement string to use when rewriting the matched input.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
-
regex
The regular expression to match in the input string. The maximum length of the string is 1,024 characters.
- Parameters:
regex
- The regular expression to match in the input string. The maximum length of the string is 1,024 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replace
The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).
- Parameters:
replace
- The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-