public static interface App.Builder extends SdkPojo, CopyableBuilder<App.Builder,App>
| Modifier and Type | Method and Description |
|---|---|
App.Builder |
appArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
|
App.Builder |
appId(String appId)
The unique ID of the Amplify app.
|
App.Builder |
autoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
|
default App.Builder |
autoBranchCreationConfig(Consumer<AutoBranchCreationConfig.Builder> autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
|
App.Builder |
autoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
|
App.Builder |
autoBranchCreationPatterns(String... autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
|
App.Builder |
basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app.
|
App.Builder |
buildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
|
App.Builder |
createTime(Instant createTime)
Creates a date and time for the Amplify app.
|
App.Builder |
customHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
|
App.Builder |
customRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
App.Builder |
customRules(Consumer<CustomRule.Builder>... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
App.Builder |
customRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
|
App.Builder |
defaultDomain(String defaultDomain)
The default domain for the Amplify app.
|
App.Builder |
description(String description)
The description for the Amplify app.
|
App.Builder |
enableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify app.
|
App.Builder |
enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
|
App.Builder |
enableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
|
App.Builder |
enableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
|
App.Builder |
environmentVariables(Map<String,String> environmentVariables)
The environment variables for the Amplify app.
|
App.Builder |
iamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify
app.
|
App.Builder |
name(String name)
The name for the Amplify app.
|
App.Builder |
platform(Platform platform)
The platform for the Amplify app.
|
App.Builder |
platform(String platform)
The platform for the Amplify app.
|
default App.Builder |
productionBranch(Consumer<ProductionBranch.Builder> productionBranch)
Describes the information about a production branch of the Amplify app.
|
App.Builder |
productionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
|
App.Builder |
repository(String repository)
The Git repository for the Amplify app.
|
App.Builder |
repositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)
The authentication protocol to use to access the Git repository for an Amplify app.
|
App.Builder |
repositoryCloneMethod(String repositoryCloneMethod)
The authentication protocol to use to access the Git repository for an Amplify app.
|
App.Builder |
tags(Map<String,String> tags)
The tag for the Amplify app.
|
App.Builder |
updateTime(Instant updateTime)
Updates the date and time for the Amplify app.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildApp.Builder appId(String appId)
The unique ID of the Amplify app.
appId - The unique ID of the Amplify app.App.Builder appArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
appArn - The Amazon Resource Name (ARN) of the Amplify app.App.Builder name(String name)
The name for the Amplify app.
name - The name for the Amplify app.App.Builder tags(Map<String,String> tags)
The tag for the Amplify app.
tags - The tag for the Amplify app.App.Builder description(String description)
The description for the Amplify app.
description - The description for the Amplify app.App.Builder repository(String repository)
The Git repository for the Amplify app.
repository - The Git repository for the Amplify app.App.Builder platform(String platform)
The platform for the Amplify app.
App.Builder platform(Platform platform)
The platform for the Amplify app.
App.Builder createTime(Instant createTime)
Creates a date and time for the Amplify app.
createTime - Creates a date and time for the Amplify app.App.Builder updateTime(Instant updateTime)
Updates the date and time for the Amplify app.
updateTime - Updates the date and time for the Amplify app.App.Builder iamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
iamServiceRoleArn - The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the
Amplify app.App.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables for the Amplify app.
environmentVariables - The environment variables for the Amplify app.App.Builder defaultDomain(String defaultDomain)
The default domain for the Amplify app.
defaultDomain - The default domain for the Amplify app.App.Builder enableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
enableBranchAutoBuild - Enables the auto-building of branches for the Amplify app.App.Builder enableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
enableBranchAutoDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git
repository.App.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
enableBasicAuth - Enables basic authorization for the Amplify app's branches.App.Builder basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for branches for the Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password.
basicAuthCredentials - The basic authorization credentials for branches for the Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password.App.Builder customRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
customRules - Describes the custom redirect and rewrite rules for the Amplify app.App.Builder customRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
customRules - Describes the custom redirect and rewrite rules for the Amplify app.App.Builder customRules(Consumer<CustomRule.Builder>... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
This is a convenience method 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)
Describes the information about a production branch of the Amplify app.
productionBranch - Describes the information about a production branch of the Amplify app.default App.Builder productionBranch(Consumer<ProductionBranch.Builder> productionBranch)
Describes the information about a production branch of the Amplify app.
This is a convenience method 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.BuilderproductionBranch(ProductionBranch)App.Builder buildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
buildSpec - Describes the content of the build specification (build spec) for the Amplify app.App.Builder customHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
customHeaders - Describes the custom HTTP headers for the Amplify app.App.Builder enableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify app.
enableAutoBranchCreation - Enables automated branch creation for the Amplify app.App.Builder autoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
autoBranchCreationPatterns - Describes the automated branch creation glob patterns for the Amplify app.App.Builder autoBranchCreationPatterns(String... autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
autoBranchCreationPatterns - Describes the automated branch creation glob patterns for the Amplify app.App.Builder autoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
autoBranchCreationConfig - Describes the automated branch creation configuration for the Amplify app.default App.Builder autoBranchCreationConfig(Consumer<AutoBranchCreationConfig.Builder> autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
This is a convenience method that creates an instance of theAutoBranchCreationConfig.Builder
avoiding the need to create one manually via AutoBranchCreationConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to autoBranchCreationConfig(AutoBranchCreationConfig).autoBranchCreationConfig - a consumer that will call methods on AutoBranchCreationConfig.BuilderautoBranchCreationConfig(AutoBranchCreationConfig)App.Builder repositoryCloneMethod(String repositoryCloneMethod)
The authentication protocol to use to access the Git repository for an Amplify app. For a GitHub repository,
specify TOKEN. For an Amazon Web Services CodeCommit repository, specify SIGV4. For
GitLab and Bitbucket repositories, specify SSH.
repositoryCloneMethod - The authentication protocol to use to access the Git repository for an Amplify app. For a GitHub
repository, specify TOKEN. For an Amazon Web Services CodeCommit repository, specify
SIGV4. For GitLab and Bitbucket repositories, specify SSH.RepositoryCloneMethod,
RepositoryCloneMethodApp.Builder repositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)
The authentication protocol to use to access the Git repository for an Amplify app. For a GitHub repository,
specify TOKEN. For an Amazon Web Services CodeCommit repository, specify SIGV4. For
GitLab and Bitbucket repositories, specify SSH.
repositoryCloneMethod - The authentication protocol to use to access the Git repository for an Amplify app. For a GitHub
repository, specify TOKEN. For an Amazon Web Services CodeCommit repository, specify
SIGV4. For GitLab and Bitbucket repositories, specify SSH.RepositoryCloneMethod,
RepositoryCloneMethodCopyright © 2022. All rights reserved.