Interface UpdateAppRequest.Builder
- All Superinterfaces:
- AmplifyRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateAppRequest.Builder,,- UpdateAppRequest> - SdkBuilder<UpdateAppRequest.Builder,,- UpdateAppRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UpdateAppRequest
- 
Method SummaryModifier and TypeMethodDescriptionaccessToken(String accessToken) The personal access token for a GitHub repository for an Amplify app.The unique ID for an Amplify app.default UpdateAppRequest.BuilderautoBranchCreationConfig(Consumer<AutoBranchCreationConfig.Builder> autoBranchCreationConfig) The automated branch creation configuration for an Amplify app.autoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig) The automated branch creation configuration for an Amplify app.autoBranchCreationPatterns(String... autoBranchCreationPatterns) Describes the automated branch creation glob patterns for an Amplify app.autoBranchCreationPatterns(Collection<String> autoBranchCreationPatterns) Describes the automated branch creation glob patterns for an Amplify app.basicAuthCredentials(String basicAuthCredentials) The basic authorization credentials for an Amplify app.The build specification (build spec) for an Amplify app.default UpdateAppRequest.BuildercacheConfig(Consumer<CacheConfig.Builder> cacheConfig) The cache configuration for the Amplify app.cacheConfig(CacheConfig cacheConfig) The cache configuration for the Amplify app.computeRoleArn(String computeRoleArn) The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app.customHeaders(String customHeaders) The custom HTTP headers for an Amplify app.customRules(Collection<CustomRule> customRules) The custom redirect and rewrite rules for an Amplify app.customRules(Consumer<CustomRule.Builder>... customRules) The custom redirect and rewrite rules for an Amplify app.customRules(CustomRule... customRules) The custom redirect and rewrite rules for an Amplify app.description(String description) The description for an Amplify app.enableAutoBranchCreation(Boolean enableAutoBranchCreation) Enables automated branch creation for an Amplify app.enableBasicAuth(Boolean enableBasicAuth) Enables basic authorization for an Amplify app.enableBranchAutoBuild(Boolean enableBranchAutoBuild) Enables branch auto-building for an Amplify app.enableBranchAutoDeletion(Boolean enableBranchAutoDeletion) Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.environmentVariables(Map<String, String> environmentVariables) The environment variables for an Amplify app.iamServiceRoleArn(String iamServiceRoleArn) The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.default UpdateAppRequest.BuilderjobConfig(Consumer<JobConfig.Builder> jobConfig) Describes the configuration details that apply to the jobs for an Amplify app.Describes the configuration details that apply to the jobs for an Amplify app.The name for an Amplify app.oauthToken(String oauthToken) The OAuth token for a third-party source control system for an Amplify app.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The platform for the Amplify app.The platform for the Amplify app.repository(String repository) The name of the Git repository for an Amplify app.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
appIdThe unique ID for an Amplify app. - Parameters:
- appId- The unique ID for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name for an Amplify app. - Parameters:
- name- The name for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description for an Amplify app. - Parameters:
- description- The description for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
platformThe 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.If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to WEB_COMPUTE.- Parameters:
- 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 to- WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to- WEB_DYNAMIC.- If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to - WEB_COMPUTE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
platformThe 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.If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to WEB_COMPUTE.- Parameters:
- 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 to- WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to- WEB_DYNAMIC.- If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to - WEB_COMPUTE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
computeRoleArnThe Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide. - Parameters:
- computeRoleArn- The Amazon Resource Name (ARN) of the IAM role to assign to an SSR app. The SSR Compute role allows the Amplify Hosting compute service to securely access specific Amazon Web Services resources based on the role's permissions. For more information about the SSR Compute role, see Adding an SSR Compute role in the Amplify User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iamServiceRoleArnThe Amazon Resource Name (ARN) of the IAM service role for the Amplify app. - Parameters:
- iamServiceRoleArn- The Amazon Resource Name (ARN) of the IAM service role for the Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
environmentVariablesThe environment variables for an Amplify app. - Parameters:
- environmentVariables- The environment variables for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enableBranchAutoBuildEnables branch auto-building for an Amplify app. - Parameters:
- enableBranchAutoBuild- Enables branch auto-building for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enableBranchAutoDeletionAutomatically disconnects a branch in the Amplify console when you delete a branch from your Git repository. - Parameters:
- enableBranchAutoDeletion- Automatically disconnects 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.
 
- 
enableBasicAuthEnables basic authorization for an Amplify app. - Parameters:
- enableBasicAuth- Enables basic authorization for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
basicAuthCredentialsThe basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.- Parameters:
- basicAuthCredentials- The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format- user:password.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customRulesThe custom redirect and rewrite rules for an Amplify app. - Parameters:
- customRules- The custom redirect and rewrite rules for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customRulesThe custom redirect and rewrite rules for an Amplify app. - Parameters:
- customRules- The custom redirect and rewrite rules for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customRulesThe custom redirect and rewrite rules for an 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 tocustomRules(List<CustomRule>).- Parameters:
- customRules- a consumer that will call methods on- CustomRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
buildSpecThe build specification (build spec) for an Amplify app. - Parameters:
- buildSpec- The build specification (build spec) for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
customHeadersThe custom HTTP headers for an Amplify app. - Parameters:
- customHeaders- The custom HTTP headers for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enableAutoBranchCreationEnables automated branch creation for an Amplify app. - Parameters:
- enableAutoBranchCreation- Enables automated branch creation for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoBranchCreationPatternsDescribes the automated branch creation glob patterns for an Amplify app. - Parameters:
- autoBranchCreationPatterns- Describes the automated branch creation glob patterns for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoBranchCreationPatternsDescribes the automated branch creation glob patterns for an Amplify app. - Parameters:
- autoBranchCreationPatterns- Describes the automated branch creation glob patterns for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoBranchCreationConfigUpdateAppRequest.Builder autoBranchCreationConfig(AutoBranchCreationConfig autoBranchCreationConfig) The automated branch creation configuration for an Amplify app. - Parameters:
- autoBranchCreationConfig- The automated branch creation configuration for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoBranchCreationConfigdefault UpdateAppRequest.Builder autoBranchCreationConfig(Consumer<AutoBranchCreationConfig.Builder> autoBranchCreationConfig) The automated branch creation configuration for an 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 on- AutoBranchCreationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
repositoryThe name of the Git repository for an Amplify app. - Parameters:
- repository- The name of the Git repository for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
oauthTokenThe OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored. Use oauthTokenfor repository providers other than GitHub, such as Bitbucket or CodeCommit.To authorize access to GitHub as your repository provider, use accessToken.You must specify either oauthTokenoraccessTokenwhen you update an app.Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide . - Parameters:
- oauthToken- The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key using SSH cloning. The OAuth token is not stored.- Use - oauthTokenfor repository providers other than GitHub, such as Bitbucket or CodeCommit.- To authorize access to GitHub as your repository provider, use - accessToken.- You must specify either - oauthTokenor- accessTokenwhen you update an app.- Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide . 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
accessTokenThe personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored. Use accessTokenfor GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, useoauthToken.You must specify either accessTokenoroauthTokenwhen you update an app.Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide . - Parameters:
- accessToken- The personal access token for a GitHub repository for an Amplify app. The personal access token is used to authorize access to a GitHub repository using the Amplify GitHub App. The token is not stored.- Use - accessTokenfor GitHub repositories only. To authorize access to a repository provider such as Bitbucket or CodeCommit, use- oauthToken.- You must specify either - accessTokenor- oauthTokenwhen you update an app.- Existing Amplify apps deployed from a GitHub repository using OAuth continue to work with CI/CD. However, we strongly recommend that you migrate these apps to use the GitHub App. For more information, see Migrating an existing OAuth app to the Amplify GitHub App in the Amplify User Guide . 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
jobConfigDescribes the configuration details that apply to the jobs for an Amplify app. - Parameters:
- jobConfig- Describes the configuration details that apply to the jobs for an Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
jobConfigDescribes the configuration details that apply to the jobs for an Amplify app. This is a convenience method that creates an instance of theJobConfig.Builderavoiding the need to create one manually viaJobConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobConfig(JobConfig).- Parameters:
- jobConfig- a consumer that will call methods on- JobConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
cacheConfigThe cache configuration for the Amplify app. - Parameters:
- cacheConfig- The cache configuration for the Amplify app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cacheConfigThe cache configuration for the Amplify app. This is a convenience method that creates an instance of theCacheConfig.Builderavoiding the need to create one manually viaCacheConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheConfig(CacheConfig).- Parameters:
- cacheConfig- a consumer that will call methods on- CacheConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateAppRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateAppRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-