Interface App.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<App.Builder,App>,SdkBuilder<App.Builder,App>,SdkPojo
- Enclosing class:
- App
public static interface App.Builder extends SdkPojo, CopyableBuilder<App.Builder,App>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description App.BuilderappArn(String appArn)The Amazon Resource Name (ARN) of the Amplify app.App.BuilderappId(String appId)The unique ID of the Amplify app.default App.BuilderautoBranchCreationConfig(Consumer<AutoBranchCreationConfig.Builder> autoBranchCreationConfig)Describes the automated branch creation configuration for the Amplify app.App.BuilderautoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)Describes the automated branch creation configuration for the Amplify app.App.BuilderautoBranchCreationPatterns(String... autoBranchCreationPatterns)Describes the automated branch creation glob patterns for the Amplify app.App.BuilderautoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)Describes the automated branch creation glob patterns for the Amplify app.App.BuilderbasicAuthCredentials(String basicAuthCredentials)The basic authorization credentials for branches for the Amplify app.App.BuilderbuildSpec(String buildSpec)Describes the content of the build specification (build spec) for the Amplify app.App.BuildercreateTime(Instant createTime)Creates a date and time for the Amplify app.App.BuildercustomHeaders(String customHeaders)Describes the custom HTTP headers for the Amplify app.App.BuildercustomRules(Collection<CustomRule> customRules)Describes the custom redirect and rewrite rules for the Amplify app.App.BuildercustomRules(Consumer<CustomRule.Builder>... customRules)Describes the custom redirect and rewrite rules for the Amplify app.App.BuildercustomRules(CustomRule... customRules)Describes the custom redirect and rewrite rules for the Amplify app.App.BuilderdefaultDomain(String defaultDomain)The default domain for the Amplify app.App.Builderdescription(String description)The description for the Amplify app.App.BuilderenableAutoBranchCreation(Boolean enableAutoBranchCreation)Enables automated branch creation for the Amplify app.App.BuilderenableBasicAuth(Boolean enableBasicAuth)Enables basic authorization for the Amplify app's branches.App.BuilderenableBranchAutoBuild(Boolean enableBranchAutoBuild)Enables the auto-building of branches for the Amplify app.App.BuilderenableBranchAutoDeletion(Boolean enableBranchAutoDeletion)Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.App.BuilderenvironmentVariables(Map<String,String> environmentVariables)The environment variables for the Amplify app.App.BuilderiamServiceRoleArn(String iamServiceRoleArn)The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.App.Buildername(String name)The name for the Amplify app.App.Builderplatform(String platform)The platform for the Amplify app.App.Builderplatform(Platform platform)The platform for the Amplify app.default App.BuilderproductionBranch(Consumer<ProductionBranch.Builder> productionBranch)Describes the information about a production branch of the Amplify app.App.BuilderproductionBranch(ProductionBranch productionBranch)Describes the information about a production branch of the Amplify app.App.Builderrepository(String repository)The Git repository for the Amplify app.App.BuilderrepositoryCloneMethod(String repositoryCloneMethod)App.BuilderrepositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)App.Buildertags(Map<String,String> tags)The tag for the Amplify app.App.BuilderupdateTime(Instant updateTime)Updates the date and time for the Amplify app.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
appId
App.Builder appId(String appId)
The unique ID of the Amplify app.
- Parameters:
appId- The unique ID of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appArn
App.Builder appArn(String appArn)
The Amazon Resource Name (ARN) of the Amplify app.
- Parameters:
appArn- The Amazon Resource Name (ARN) of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
App.Builder name(String name)
The name for the Amplify app.
- Parameters:
name- The name for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
App.Builder tags(Map<String,String> tags)
The tag for the Amplify app.
- Parameters:
tags- The tag for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
App.Builder description(String description)
The description for the Amplify app.
- Parameters:
description- The description for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
App.Builder repository(String repository)
The Git repository for the Amplify app.
- Parameters:
repository- The Git repository for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
App.Builder platform(String platform)
The platform for the Amplify app. For a static app, set the platform type to
WEB. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC.- Parameters:
platform- The platform for the Amplify app. For a static app, set the platform type toWEB. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Platform,Platform
-
platform
App.Builder platform(Platform platform)
The platform for the Amplify app. For a static app, set the platform type to
WEB. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC.- Parameters:
platform- The platform for the Amplify app. For a static app, set the platform type toWEB. For a dynamic server-side rendered (SSR) app, set the platform type toWEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type toWEB_DYNAMIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Platform,Platform
-
createTime
App.Builder createTime(Instant createTime)
Creates a date and time for the Amplify app.
- Parameters:
createTime- Creates a date and time for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
App.Builder updateTime(Instant updateTime)
Updates the date and time for the Amplify app.
- Parameters:
updateTime- Updates the date and time for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamServiceRoleArn
App.Builder iamServiceRoleArn(String iamServiceRoleArn)
The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
- Parameters:
iamServiceRoleArn- The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
App.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables for the Amplify app.
For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
- Parameters:
environmentVariables- The environment variables for the Amplify app.For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultDomain
App.Builder defaultDomain(String defaultDomain)
The default domain for the Amplify app.
- Parameters:
defaultDomain- The default domain for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableBranchAutoBuild
App.Builder enableBranchAutoBuild(Boolean enableBranchAutoBuild)
Enables the auto-building of branches for the Amplify app.
- Parameters:
enableBranchAutoBuild- Enables the auto-building of branches for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableBranchAutoDeletion
App.Builder enableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
- Parameters:
enableBranchAutoDeletion- Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableBasicAuth
App.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the Amplify app's branches.
- Parameters:
enableBasicAuth- Enables basic authorization for the Amplify app's branches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthCredentials
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.- Parameters:
basicAuthCredentials- The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the formatuser:password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customRules
App.Builder customRules(Collection<CustomRule> customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
- Parameters:
customRules- Describes the custom redirect and rewrite rules for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customRules
App.Builder customRules(CustomRule... customRules)
Describes the custom redirect and rewrite rules for the Amplify app.
- Parameters:
customRules- Describes the custom redirect and rewrite rules for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customRules
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 theCustomRule.Builderavoiding the need to create one manually viaCustomRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customRules(List.) - Parameters:
customRules- a consumer that will call methods onCustomRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customRules(java.util.Collection)
-
productionBranch
App.Builder productionBranch(ProductionBranch productionBranch)
Describes the information about a production branch of the Amplify app.
- Parameters:
productionBranch- Describes the information about a production branch of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productionBranch
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.Builderavoiding the need to create one manually viaProductionBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproductionBranch(ProductionBranch).- Parameters:
productionBranch- a consumer that will call methods onProductionBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
productionBranch(ProductionBranch)
-
buildSpec
App.Builder buildSpec(String buildSpec)
Describes the content of the build specification (build spec) for the Amplify app.
- Parameters:
buildSpec- Describes the content of the build specification (build spec) for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customHeaders
App.Builder customHeaders(String customHeaders)
Describes the custom HTTP headers for the Amplify app.
- Parameters:
customHeaders- Describes the custom HTTP headers for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableAutoBranchCreation
App.Builder enableAutoBranchCreation(Boolean enableAutoBranchCreation)
Enables automated branch creation for the Amplify app.
- Parameters:
enableAutoBranchCreation- Enables automated branch creation for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBranchCreationPatterns
App.Builder autoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
- Parameters:
autoBranchCreationPatterns- Describes the automated branch creation glob patterns for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBranchCreationPatterns
App.Builder autoBranchCreationPatterns(String... autoBranchCreationPatterns)
Describes the automated branch creation glob patterns for the Amplify app.
- Parameters:
autoBranchCreationPatterns- Describes the automated branch creation glob patterns for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBranchCreationConfig
App.Builder autoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig)
Describes the automated branch creation configuration for the Amplify app.
- Parameters:
autoBranchCreationConfig- Describes the automated branch creation configuration for the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoBranchCreationConfig
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.Builderavoiding the need to create one manually viaAutoBranchCreationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoBranchCreationConfig(AutoBranchCreationConfig).- Parameters:
autoBranchCreationConfig- a consumer that will call methods onAutoBranchCreationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoBranchCreationConfig(AutoBranchCreationConfig)
-
repositoryCloneMethod
App.Builder repositoryCloneMethod(String repositoryCloneMethod)
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies
TOKENfor a GitHub repository,SIGV4for an Amazon Web Services CodeCommit repository, andSSHfor GitLab and Bitbucket repositories.- Parameters:
repositoryCloneMethod-This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies
TOKENfor a GitHub repository,SIGV4for an Amazon Web Services CodeCommit repository, andSSHfor GitLab and Bitbucket repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RepositoryCloneMethod,RepositoryCloneMethod
-
repositoryCloneMethod
App.Builder repositoryCloneMethod(RepositoryCloneMethod repositoryCloneMethod)
This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies
TOKENfor a GitHub repository,SIGV4for an Amazon Web Services CodeCommit repository, andSSHfor GitLab and Bitbucket repositories.- Parameters:
repositoryCloneMethod-This is for internal use.
The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies
TOKENfor a GitHub repository,SIGV4for an Amazon Web Services CodeCommit repository, andSSHfor GitLab and Bitbucket repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RepositoryCloneMethod,RepositoryCloneMethod
-
-