Interface HostHeaderRewriteConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HostHeaderRewriteConfig.Builder,
,HostHeaderRewriteConfig> SdkBuilder<HostHeaderRewriteConfig.Builder,
,HostHeaderRewriteConfig> SdkPojo
- Enclosing class:
HostHeaderRewriteConfig
@Mutable
@NotThreadSafe
public static interface HostHeaderRewriteConfig.Builder
extends SdkPojo, CopyableBuilder<HostHeaderRewriteConfig.Builder,HostHeaderRewriteConfig>
-
Method Summary
Modifier and TypeMethodDescriptionrewrites
(Collection<RewriteConfig> rewrites) The host header rewrite transform.rewrites
(Consumer<RewriteConfig.Builder>... rewrites) The host header rewrite transform.rewrites
(RewriteConfig... rewrites) The host header rewrite transform.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
-
rewrites
The host header rewrite transform. Each transform consists of a regular expression to match and a replacement string.
- Parameters:
rewrites
- The host header rewrite transform. Each 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 host header rewrite transform. Each transform consists of a regular expression to match and a replacement string.
- Parameters:
rewrites
- The host header rewrite transform. Each 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 host header rewrite transform. Each transform consists of a regular expression to match and a replacement string.
This is a convenience method that creates an instance of theRewriteConfig.Builder
avoiding the need to create one manually viaRewriteConfig.builder()
.When the
Consumer
completes,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:
-