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 Details

    • stage

      Describes the current stage for the autocreated branch.

      Parameters:
      stage - Describes the current stage for the autocreated branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stage

      Describes the current stage for the autocreated branch.

      Parameters:
      stage - Describes the current stage for the autocreated branch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 format user: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

      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.