| Package | Description |
|---|---|
| com.amazonaws.services.amplify.model |
| Modifier and Type | Method and Description |
|---|---|
CustomRule |
CustomRule.clone() |
CustomRule |
CustomRule.withCondition(String condition)
The condition for a URL rewrite or redirect rule, such as a country code.
|
CustomRule |
CustomRule.withSource(String source)
The source pattern for a URL rewrite or redirect rule.
|
CustomRule |
CustomRule.withStatus(String status)
The status code for a URL rewrite or redirect rule.
|
CustomRule |
CustomRule.withTarget(String target)
The target pattern for a URL rewrite or redirect rule.
|
| Modifier and Type | Method and Description |
|---|---|
List<CustomRule> |
App.getCustomRules()
Describes the custom redirect and rewrite rules for the Amplify app.
|
List<CustomRule> |
UpdateAppRequest.getCustomRules()
The custom redirect and rewrite rules for an Amplify app.
|
List<CustomRule> |
CreateAppRequest.getCustomRules()
The custom rewrite and redirect rules for an Amplify app.
|
| Modifier and Type | Method and Description |
|---|---|
App |
App.withCustomRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
UpdateAppRequest |
UpdateAppRequest.withCustomRules(CustomRule... customRules)
The custom redirect and rewrite rules for an Amplify app.
|
CreateAppRequest |
CreateAppRequest.withCustomRules(CustomRule... customRules)
The custom rewrite and redirect rules for an Amplify app.
|
| Modifier and Type | Method and Description |
|---|---|
void |
App.setCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
void |
UpdateAppRequest.setCustomRules(Collection<CustomRule> customRules)
The custom redirect and rewrite rules for an Amplify app.
|
void |
CreateAppRequest.setCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
|
App |
App.withCustomRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
UpdateAppRequest |
UpdateAppRequest.withCustomRules(Collection<CustomRule> customRules)
The custom redirect and rewrite rules for an Amplify app.
|
CreateAppRequest |
CreateAppRequest.withCustomRules(Collection<CustomRule> customRules)
The custom rewrite and redirect rules for an Amplify app.
|
Copyright © 2020. All rights reserved.