public static interface CustomRule.Builder extends SdkPojo, CopyableBuilder<CustomRule.Builder,CustomRule>
| Modifier and Type | Method and Description |
|---|---|
CustomRule.Builder |
condition(String condition)
The condition for a URL rewrite or redirect rule, such as a country code.
|
CustomRule.Builder |
source(String source)
The source pattern for a URL rewrite or redirect rule.
|
CustomRule.Builder |
status(String status)
The status code for a URL rewrite or redirect rule.
|
CustomRule.Builder |
target(String target)
The target pattern for a URL rewrite or redirect rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomRule.Builder source(String source)
The source pattern for a URL rewrite or redirect rule.
source - The source pattern for a URL rewrite or redirect rule.CustomRule.Builder target(String target)
The target pattern for a URL rewrite or redirect rule.
target - The target pattern for a URL rewrite or redirect rule.CustomRule.Builder status(String status)
The status code for a URL rewrite or redirect rule.
Represents a 200 rewrite rule.
Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
Represents a 302 temporary redirect rule.
Represents a 404 redirect rule.
Represents a 404 rewrite rule.
status - The status code for a URL rewrite or redirect rule.
Represents a 200 rewrite rule.
Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL.
Represents a 302 temporary redirect rule.
Represents a 404 redirect rule.
Represents a 404 rewrite rule.
CustomRule.Builder condition(String condition)
The condition for a URL rewrite or redirect rule, such as a country code.
condition - The condition for a URL rewrite or redirect rule, such as a country code.Copyright © 2022. All rights reserved.