Interface RuleTransform.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleTransform.Builder,,RuleTransform> SdkBuilder<RuleTransform.Builder,,RuleTransform> SdkPojo
- Enclosing class:
RuleTransform
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleTransform.BuilderhostHeaderRewriteConfig(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.BuilderurlRewriteConfig(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
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
-
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
Typeishost-header-rewrite.- Parameters:
hostHeaderRewriteConfig- Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only whenTypeishost-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 theTypeishost-header-rewrite.HostHeaderRewriteConfig.Builderavoiding the need to create one manually viaHostHeaderRewriteConfig.builder().When the
Consumercompletes,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
Typeisurl-rewrite.- Parameters:
urlRewriteConfig- Information about a URL rewrite transform. This transform modifies the request URL. Specify only whenTypeisurl-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 theTypeisurl-rewrite.UrlRewriteConfig.Builderavoiding the need to create one manually viaUrlRewriteConfig.builder().When the
Consumercompletes,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:
-