public static interface Branch.Builder extends SdkPojo, CopyableBuilder<Branch.Builder,Branch>
| Modifier and Type | Method and Description |
|---|---|
Branch.Builder |
activeJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
|
Branch.Builder |
associatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
|
Branch.Builder |
associatedResources(String... associatedResources)
A list of custom resources that are linked to this branch.
|
Branch.Builder |
backendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
Branch.Builder |
basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app.
|
Branch.Builder |
branchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
|
Branch.Builder |
branchName(String branchName)
The name for the branch that is part of an Amplify app.
|
Branch.Builder |
buildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
|
Branch.Builder |
createTime(Instant createTime)
The creation date and time for a branch that is part of an Amplify app.
|
Branch.Builder |
customDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
|
Branch.Builder |
customDomains(String... customDomains)
The custom domains for a branch of an Amplify app.
|
Branch.Builder |
description(String description)
The description for the branch that is part of an Amplify app.
|
Branch.Builder |
destinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
|
Branch.Builder |
displayName(String displayName)
The display name for the branch.
|
Branch.Builder |
enableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
|
Branch.Builder |
enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
|
Branch.Builder |
enableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
|
Branch.Builder |
enablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
|
Branch.Builder |
enablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
|
Branch.Builder |
environmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
|
Branch.Builder |
framework(String framework)
The framework for a branch of an Amplify app.
|
Branch.Builder |
pullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
Branch.Builder |
sourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
|
Branch.Builder |
stage(Stage stage)
The current stage for the branch that is part of an Amplify app.
|
Branch.Builder |
stage(String stage)
The current stage for the branch that is part of an Amplify app.
|
Branch.Builder |
tags(Map<String,String> tags)
The tag for the branch of an Amplify app.
|
Branch.Builder |
thumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
|
Branch.Builder |
totalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
|
Branch.Builder |
ttl(String ttl)
The content Time to Live (TTL) for the website in seconds.
|
Branch.Builder |
updateTime(Instant updateTime)
The last updated date and time for a branch that is part of an Amplify app.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBranch.Builder branchArn(String branchArn)
The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.
branchArn - The Amazon Resource Name (ARN) for a branch that is part of an Amplify app.Branch.Builder branchName(String branchName)
The name for the branch that is part of an Amplify app.
branchName - The name for the branch that is part of an Amplify app.Branch.Builder description(String description)
The description for the branch that is part of an Amplify app.
description - The description for the branch that is part of an Amplify app.Branch.Builder tags(Map<String,String> tags)
The tag for the branch of an Amplify app.
tags - The tag for the branch of an Amplify app.Branch.Builder stage(String stage)
The current stage for the branch that is part of an Amplify app.
Branch.Builder stage(Stage stage)
The current stage for the branch that is part of an Amplify app.
Branch.Builder displayName(String displayName)
The display name for the branch. This is used as the default domain prefix.
displayName - The display name for the branch. This is used as the default domain prefix.Branch.Builder enableNotification(Boolean enableNotification)
Enables notifications for a branch that is part of an Amplify app.
enableNotification - Enables notifications for a branch that is part of an Amplify app.Branch.Builder createTime(Instant createTime)
The creation date and time for a branch that is part of an Amplify app.
createTime - The creation date and time for a branch that is part of an Amplify app.Branch.Builder updateTime(Instant updateTime)
The last updated date and time for a branch that is part of an Amplify app.
updateTime - The last updated date and time for a branch that is part of an Amplify app.Branch.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables specific to a branch of an Amplify app.
environmentVariables - The environment variables specific to a branch of an Amplify app.Branch.Builder enableAutoBuild(Boolean enableAutoBuild)
Enables auto-building on push for a branch of an Amplify app.
enableAutoBuild - Enables auto-building on push for a branch of an Amplify app.Branch.Builder customDomains(Collection<String> customDomains)
The custom domains for a branch of an Amplify app.
customDomains - The custom domains for a branch of an Amplify app.Branch.Builder customDomains(String... customDomains)
The custom domains for a branch of an Amplify app.
customDomains - The custom domains for a branch of an Amplify app.Branch.Builder framework(String framework)
The framework for a branch of an Amplify app.
framework - The framework for a branch of an Amplify app.Branch.Builder activeJobId(String activeJobId)
The ID of the active job for a branch of an Amplify app.
activeJobId - The ID of the active job for a branch of an Amplify app.Branch.Builder totalNumberOfJobs(String totalNumberOfJobs)
The total number of jobs that are part of an Amplify app.
totalNumberOfJobs - The total number of jobs that are part of an Amplify app.Branch.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for a branch of an Amplify app.
enableBasicAuth - Enables basic authorization for a branch of an Amplify app.Branch.Builder enablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
enablePerformanceMode - Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Branch.Builder thumbnailUrl(String thumbnailUrl)
The thumbnail URL for the branch of an Amplify app.
thumbnailUrl - The thumbnail URL for the branch of an Amplify app.Branch.Builder basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for a branch of an Amplify app. You must base64-encode the authorization
credentials and provide them in the format user:password.
basicAuthCredentials - The basic authorization credentials for a branch of an Amplify app. You must base64-encode the
authorization credentials and provide them in the format user:password.Branch.Builder buildSpec(String buildSpec)
The build specification (build spec) content for the branch of an Amplify app.
buildSpec - The build specification (build spec) content for the branch of an Amplify app.Branch.Builder ttl(String ttl)
The content Time to Live (TTL) for the website in seconds.
ttl - The content Time to Live (TTL) for the website in seconds.Branch.Builder associatedResources(Collection<String> associatedResources)
A list of custom resources that are linked to this branch.
associatedResources - A list of custom resources that are linked to this branch.Branch.Builder associatedResources(String... associatedResources)
A list of custom resources that are linked to this branch.
associatedResources - A list of custom resources that are linked to this branch.Branch.Builder enablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the branch.
enablePullRequestPreview - Enables pull request previews for the branch.Branch.Builder pullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
pullRequestEnvironmentName - The Amplify environment name for the pull request.Branch.Builder destinationBranch(String destinationBranch)
The destination branch if the branch is a pull request branch.
destinationBranch - The destination branch if the branch is a pull request branch.Branch.Builder sourceBranch(String sourceBranch)
The source branch if the branch is a pull request branch.
sourceBranch - The source branch if the branch is a pull request branch.Branch.Builder backendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
backendEnvironmentArn - The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.Copyright © 2023. All rights reserved.