Interface AutoBranchCreationConfig.Builder

    • Method Detail

      • stage

        AutoBranchCreationConfig.Builder stage​(String 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, Stage
      • stage

        AutoBranchCreationConfig.Builder stage​(Stage 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, Stage
      • 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 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

        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.