Class AppAutoBranchCreationConfig


  • public final class AppAutoBranchCreationConfig
    extends java.lang.Object
    • Method Detail

      • basicAuthCredentials

        public java.util.Optional<java.lang.String> basicAuthCredentials()
        Returns:
        Basic authorization credentials for the autocreated branch.
      • buildSpec

        public java.util.Optional<java.lang.String> buildSpec()
        Returns:
        Build specification (build spec) for the autocreated branch.
      • enableAutoBuild

        public java.util.Optional<java.lang.Boolean> enableAutoBuild()
        Returns:
        Enables auto building for the autocreated branch.
      • enableBasicAuth

        public java.util.Optional<java.lang.Boolean> enableBasicAuth()
        Returns:
        Enables basic authorization for the autocreated branch.
      • enablePerformanceMode

        public java.util.Optional<java.lang.Boolean> enablePerformanceMode()
        Returns:
        Enables performance mode for the branch.
      • enablePullRequestPreview

        public java.util.Optional<java.lang.Boolean> enablePullRequestPreview()
        Returns:
        Enables pull request previews for the autocreated branch.
      • environmentVariables

        public java.util.Map<java.lang.String,​java.lang.String> environmentVariables()
        Returns:
        Environment variables for the autocreated branch.
      • framework

        public java.util.Optional<java.lang.String> framework()
        Returns:
        Framework for the autocreated branch.
      • pullRequestEnvironmentName

        public java.util.Optional<java.lang.String> pullRequestEnvironmentName()
        Returns:
        Amplify environment name for the pull request.
      • stage

        public java.util.Optional<java.lang.String> stage()
        Returns:
        Describes the current stage for the autocreated branch. Valid values: `PRODUCTION`, `BETA`, `DEVELOPMENT`, `EXPERIMENTAL`, `PULL_REQUEST`.