public static interface App.Builder extends SdkPojo, CopyableBuilder<App.Builder,App>
Modifier and Type | Method and Description |
---|---|
App.Builder |
appArn(String appArn)
ARN for the Amplify App.
|
App.Builder |
appId(String appId)
Unique Id for the Amplify App.
|
App.Builder |
basicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
|
App.Builder |
buildSpec(String buildSpec)
BuildSpec content for Amplify App.
|
App.Builder |
createTime(Instant createTime)
Create date / time for the Amplify App.
|
App.Builder |
customRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
|
App.Builder |
customRules(Consumer<CustomRule.Builder>... customRules)
Custom redirect / rewrite rules for the Amplify App.
|
App.Builder |
customRules(CustomRule... customRules)
Custom redirect / rewrite rules for the Amplify App.
|
App.Builder |
defaultDomain(String defaultDomain)
Default domain for the Amplify App.
|
App.Builder |
description(String description)
Description for the Amplify App.
|
App.Builder |
enableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
|
App.Builder |
enableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
|
App.Builder |
environmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
|
App.Builder |
iamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
|
App.Builder |
name(String name)
Name for the Amplify App.
|
App.Builder |
platform(Platform platform)
Platform for the Amplify App.
|
App.Builder |
platform(String platform)
Platform for the Amplify App.
|
default App.Builder |
productionBranch(Consumer<ProductionBranch.Builder> productionBranch)
Structure with Production Branch information.
|
App.Builder |
productionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
|
App.Builder |
repository(String repository)
Repository for the Amplify App.
|
App.Builder |
tags(Map<String,String> tags)
Tag for Amplify App.
|
App.Builder |
updateTime(Instant updateTime)
Update date / time for the Amplify App.
|
copy
applyMutation, build
App.Builder appId(String appId)
Unique Id for the Amplify App.
appId
- Unique Id for the Amplify App.App.Builder appArn(String appArn)
ARN for the Amplify App.
appArn
- ARN for the Amplify App.App.Builder name(String name)
Name for the Amplify App.
name
- Name for the Amplify App.App.Builder tags(Map<String,String> tags)
Tag for Amplify App.
tags
- Tag for Amplify App.App.Builder description(String description)
Description for the Amplify App.
description
- Description for the Amplify App.App.Builder repository(String repository)
Repository for the Amplify App.
repository
- Repository for the Amplify App.App.Builder platform(String platform)
Platform for the Amplify App.
App.Builder platform(Platform platform)
Platform for the Amplify App.
App.Builder createTime(Instant createTime)
Create date / time for the Amplify App.
createTime
- Create date / time for the Amplify App.App.Builder updateTime(Instant updateTime)
Update date / time for the Amplify App.
updateTime
- Update date / time for the Amplify App.App.Builder iamServiceRoleArn(String iamServiceRoleArn)
IAM service role ARN for the Amplify App.
iamServiceRoleArn
- IAM service role ARN for the Amplify App.App.Builder environmentVariables(Map<String,String> environmentVariables)
Environment Variables for the Amplify App.
environmentVariables
- Environment Variables for the Amplify App.App.Builder defaultDomain(String defaultDomain)
Default domain for the Amplify App.
defaultDomain
- Default domain for the Amplify App.App.Builder enableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables auto-building of branches for the Amplify App.
enableBranchAutoBuild
- Enables auto-building of branches for the Amplify App.App.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables Basic Authorization for branches for the Amplify App.
enableBasicAuth
- Enables Basic Authorization for branches for the Amplify App.App.Builder basicAuthCredentials(String basicAuthCredentials)
Basic Authorization credentials for branches for the Amplify App.
basicAuthCredentials
- Basic Authorization credentials for branches for the Amplify App.App.Builder customRules(Collection<CustomRule> customRules)
Custom redirect / rewrite rules for the Amplify App.
customRules
- Custom redirect / rewrite rules for the Amplify App.App.Builder customRules(CustomRule... customRules)
Custom redirect / rewrite rules for the Amplify App.
customRules
- Custom redirect / rewrite rules for the Amplify App.App.Builder customRules(Consumer<CustomRule.Builder>... customRules)
Custom redirect / rewrite rules for the Amplify App.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #customRules(List)
.customRules
- a consumer that will call methods on List.Builder
#customRules(List)
App.Builder productionBranch(ProductionBranch productionBranch)
Structure with Production Branch information.
productionBranch
- Structure with Production Branch information.default App.Builder productionBranch(Consumer<ProductionBranch.Builder> productionBranch)
Structure with Production Branch information.
This is a convenience that creates an instance of theProductionBranch.Builder
avoiding the need to
create one manually via ProductionBranch.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to productionBranch(ProductionBranch)
.productionBranch
- a consumer that will call methods on ProductionBranch.Builder
productionBranch(ProductionBranch)
App.Builder buildSpec(String buildSpec)
BuildSpec content for Amplify App.
buildSpec
- BuildSpec content for Amplify App.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.