Interface RuleTransform.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleTransform.Builder,
,RuleTransform> SdkBuilder<RuleTransform.Builder,
,RuleTransform> SdkPojo
- Enclosing class:
RuleTransform
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleTransform.Builder
hostHeaderRewriteConfig
(Consumer<HostHeaderRewriteConfig.Builder> hostHeaderRewriteConfig) Information about a host header rewrite transform.hostHeaderRewriteConfig
(HostHeaderRewriteConfig hostHeaderRewriteConfig) Information about a host header rewrite transform.The type of transform.type
(TransformTypeEnum type) The type of transform.default RuleTransform.Builder
urlRewriteConfig
(Consumer<UrlRewriteConfig.Builder> urlRewriteConfig) Information about a URL rewrite transform.urlRewriteConfig
(UrlRewriteConfig urlRewriteConfig) Information about a URL 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
-
type
The type of transform.
-
host-header-rewrite
- Rewrite the host header. -
url-rewrite
- Rewrite the request URL.
- Parameters:
type
- The type of transform.-
host-header-rewrite
- Rewrite the host header. -
url-rewrite
- Rewrite the request URL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of transform.
-
host-header-rewrite
- Rewrite the host header. -
url-rewrite
- Rewrite the request URL.
- Parameters:
type
- The type of transform.-
host-header-rewrite
- Rewrite the host header. -
url-rewrite
- Rewrite the request URL.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
hostHeaderRewriteConfig
Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when
Type
ishost-header-rewrite
.- Parameters:
hostHeaderRewriteConfig
- Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only whenType
ishost-header-rewrite
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostHeaderRewriteConfig
default RuleTransform.Builder hostHeaderRewriteConfig(Consumer<HostHeaderRewriteConfig.Builder> hostHeaderRewriteConfig) Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when
This is a convenience method that creates an instance of theType
ishost-header-rewrite
.HostHeaderRewriteConfig.Builder
avoiding the need to create one manually viaHostHeaderRewriteConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostHeaderRewriteConfig(HostHeaderRewriteConfig)
.- Parameters:
hostHeaderRewriteConfig
- a consumer that will call methods onHostHeaderRewriteConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
urlRewriteConfig
Information about a URL rewrite transform. This transform modifies the request URL. Specify only when
Type
isurl-rewrite
.- Parameters:
urlRewriteConfig
- Information about a URL rewrite transform. This transform modifies the request URL. Specify only whenType
isurl-rewrite
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlRewriteConfig
Information about a URL rewrite transform. This transform modifies the request URL. Specify only when
This is a convenience method that creates an instance of theType
isurl-rewrite
.UrlRewriteConfig.Builder
avoiding the need to create one manually viaUrlRewriteConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tourlRewriteConfig(UrlRewriteConfig)
.- Parameters:
urlRewriteConfig
- a consumer that will call methods onUrlRewriteConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-