Interface AutoBranchCreationConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoBranchCreationConfig.Builder,AutoBranchCreationConfig>,SdkBuilder<AutoBranchCreationConfig.Builder,AutoBranchCreationConfig>,SdkPojo
- Enclosing class:
- AutoBranchCreationConfig
public static interface AutoBranchCreationConfig.Builder extends SdkPojo, CopyableBuilder<AutoBranchCreationConfig.Builder,AutoBranchCreationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoBranchCreationConfig.BuilderbasicAuthCredentials(String basicAuthCredentials)The basic authorization credentials for the autocreated branch.AutoBranchCreationConfig.BuilderbuildSpec(String buildSpec)The build specification (build spec) for the autocreated branch.AutoBranchCreationConfig.BuilderenableAutoBuild(Boolean enableAutoBuild)Enables auto building for the autocreated branch.AutoBranchCreationConfig.BuilderenableBasicAuth(Boolean enableBasicAuth)Enables basic authorization for the autocreated branch.AutoBranchCreationConfig.BuilderenablePerformanceMode(Boolean enablePerformanceMode)Enables performance mode for the branch.AutoBranchCreationConfig.BuilderenablePullRequestPreview(Boolean enablePullRequestPreview)Enables pull request previews for the autocreated branch.AutoBranchCreationConfig.BuilderenvironmentVariables(Map<String,String> environmentVariables)The environment variables for the autocreated branch.AutoBranchCreationConfig.Builderframework(String framework)The framework for the autocreated branch.AutoBranchCreationConfig.BuilderpullRequestEnvironmentName(String pullRequestEnvironmentName)The Amplify environment name for the pull request.AutoBranchCreationConfig.Builderstage(String stage)Describes the current stage for the autocreated branch.AutoBranchCreationConfig.Builderstage(Stage stage)Describes the current stage for the autocreated branch.-
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
-
stage
AutoBranchCreationConfig.Builder stage(String stage)
Describes the current stage for the autocreated branch.
-
stage
AutoBranchCreationConfig.Builder stage(Stage stage)
Describes the current stage for the autocreated branch.
-
framework
AutoBranchCreationConfig.Builder framework(String framework)
The framework for the autocreated branch.
- Parameters:
framework- The framework for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableAutoBuild
AutoBranchCreationConfig.Builder enableAutoBuild(Boolean enableAutoBuild)
Enables auto building for the autocreated branch.
- Parameters:
enableAutoBuild- Enables auto building for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
AutoBranchCreationConfig.Builder environmentVariables(Map<String,String> environmentVariables)
The environment variables for the autocreated branch.
- Parameters:
environmentVariables- The environment variables for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthCredentials
AutoBranchCreationConfig.Builder basicAuthCredentials(String basicAuthCredentials)
The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format
user:password.- Parameters:
basicAuthCredentials- The basic authorization credentials for the autocreated branch. 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.
-
enableBasicAuth
AutoBranchCreationConfig.Builder enableBasicAuth(Boolean enableBasicAuth)
Enables basic authorization for the autocreated branch.
- Parameters:
enableBasicAuth- Enables basic authorization for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enablePerformanceMode
AutoBranchCreationConfig.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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildSpec
AutoBranchCreationConfig.Builder buildSpec(String buildSpec)
The build specification (build spec) for the autocreated branch.
- Parameters:
buildSpec- The build specification (build spec) for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enablePullRequestPreview
AutoBranchCreationConfig.Builder enablePullRequestPreview(Boolean enablePullRequestPreview)
Enables pull request previews for the autocreated branch.
- Parameters:
enablePullRequestPreview- Enables pull request previews for the autocreated branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestEnvironmentName
AutoBranchCreationConfig.Builder pullRequestEnvironmentName(String pullRequestEnvironmentName)
The Amplify environment name for the pull request.
- Parameters:
pullRequestEnvironmentName- The Amplify environment name for the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-