Interface UrlRewriteConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UrlRewriteConfig.Builder,,UrlRewriteConfig> SdkBuilder<UrlRewriteConfig.Builder,,UrlRewriteConfig> SdkPojo
- Enclosing class:
UrlRewriteConfig
@Mutable
@NotThreadSafe
public static interface UrlRewriteConfig.Builder
extends SdkPojo, CopyableBuilder<UrlRewriteConfig.Builder,UrlRewriteConfig>
-
Method Summary
Modifier and TypeMethodDescriptionrewrites(Collection<RewriteConfig> rewrites) The URL rewrite transform to apply to the request.rewrites(Consumer<RewriteConfig.Builder>... rewrites) The URL rewrite transform to apply to the request.rewrites(RewriteConfig... rewrites) The URL rewrite transform to apply to the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rewrites
The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.
- Parameters:
rewrites- The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rewrites
The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.
- Parameters:
rewrites- The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rewrites
The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.
This is a convenience method that creates an instance of theRewriteConfig.Builderavoiding the need to create one manually viaRewriteConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torewrites(List<RewriteConfig>).- Parameters:
rewrites- a consumer that will call methods onRewriteConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-