public static interface CreateBranchRequest.Builder extends AmplifyRequest.Builder, SdkPojo, CopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateBranchRequest.Builder |
appId(String appId)
The unique ID for an Amplify app.
|
CreateBranchRequest.Builder |
backendEnvironmentArn(String backendEnvironmentArn)
The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
CreateBranchRequest.Builder |
basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the branch.
|
CreateBranchRequest.Builder |
branchName(String branchName)
The name for the branch.
|
CreateBranchRequest.Builder |
buildSpec(String buildSpec)
The build specification (build spec) for the branch.
|
CreateBranchRequest.Builder |
description(String description)
The description for the branch.
|
CreateBranchRequest.Builder |
displayName(String displayName)
The display name for a branch.
|
CreateBranchRequest.Builder |
enableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
|
CreateBranchRequest.Builder |
enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the branch.
|
CreateBranchRequest.Builder |
enableNotification(Boolean enableNotification)
Enables notifications for the branch.
|
CreateBranchRequest.Builder |
enablePerformanceMode(Boolean enablePerformanceMode)
Enables performance mode for the branch.
|
CreateBranchRequest.Builder |
enablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for this branch.
|
CreateBranchRequest.Builder |
environmentVariables(Map<String,String> environmentVariables)
The environment variables for the branch.
|
CreateBranchRequest.Builder |
framework(String framework)
The framework for the branch.
|
CreateBranchRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateBranchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateBranchRequest.Builder |
pullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
|
CreateBranchRequest.Builder |
stage(Stage stage)
Describes the current stage for the branch.
|
CreateBranchRequest.Builder |
stage(String stage)
Describes the current stage for the branch.
|
CreateBranchRequest.Builder |
tags(Map<String,String> tags)
The tag for the branch.
|
CreateBranchRequest.Builder |
ttl(String ttl)
The content Time To Live (TTL) for the website in seconds.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateBranchRequest.Builder appId(String appId)
The unique ID for an Amplify app.
appId - The unique ID for an Amplify app.CreateBranchRequest.Builder branchName(String branchName)
The name for the branch.
branchName - The name for the branch.CreateBranchRequest.Builder description(String description)
The description for the branch.
description - The description for the branch.CreateBranchRequest.Builder stage(String stage)
Describes the current stage for the branch.
CreateBranchRequest.Builder stage(Stage stage)
Describes the current stage for the branch.
CreateBranchRequest.Builder framework(String framework)
The framework for the branch.
framework - The framework for the branch.CreateBranchRequest.Builder enableNotification(Boolean enableNotification)
Enables notifications for the branch.
enableNotification - Enables notifications for the branch.CreateBranchRequest.Builder enableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the branch.
enableAutoBuild - Enables auto building for the branch.CreateBranchRequest.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables for the branch.
environmentVariables - The environment variables for the branch.CreateBranchRequest.Builder basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the branch. You must base64-encode the authorization credentials and
provide them in the format user:password.
basicAuthCredentials - The basic authorization credentials for the branch. You must base64-encode the authorization
credentials and provide them in the format user:password.CreateBranchRequest.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the branch.
enableBasicAuth - Enables basic authorization for the branch.CreateBranchRequest.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.
CreateBranchRequest.Builder tags(Map<String,String> tags)
The tag for the branch.
tags - The tag for the branch.CreateBranchRequest.Builder buildSpec(String buildSpec)
The build specification (build spec) for the branch.
buildSpec - The build specification (build spec) for the branch.CreateBranchRequest.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.CreateBranchRequest.Builder displayName(String displayName)
The display name for a branch. This is used as the default domain prefix.
displayName - The display name for a branch. This is used as the default domain prefix.CreateBranchRequest.Builder enablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for this branch.
enablePullRequestPreview - Enables pull request previews for this branch.CreateBranchRequest.Builder pullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
pullRequestEnvironmentName - The Amplify environment name for the pull request.CreateBranchRequest.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.CreateBranchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.