Class AutoApproveOptions.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getLabel

        public final String getLabel()
        Description copied from interface: AutoApproveOptions
        (experimental) Only pull requests with this label will be auto-approved.

        Default: 'auto-approve'

        Specified by:
        getLabel in interface AutoApproveOptions
      • getSecret

        public final String getSecret()
        Description copied from interface: AutoApproveOptions
        (experimental) A GitHub secret name which contains a GitHub Access Token with write permissions for the pull_request scope.

        This token is used to approve pull requests. Github forbids an identity to approve its own pull request. If your project produces automated pull requests using the Github default token - {@link https://docs.github.com/en/actions/reference/authentication-in-a-workflow `GITHUB_TOKEN` } * that you would like auto approved, such as when using the `depsUpgrade` property in `NodeProjectOptions`, then you must use a different token here.

        Default: "GITHUB_TOKEN"

        Specified by:
        getSecret in interface AutoApproveOptions
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object