Class BuildStatusConfig

    • Method Detail

      • context

        public final String context()

        Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

        Bitbucket

        This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

        GitHub/GitHub Enterprise Server

        This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

        Returns:
        Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

        Bitbucket

        This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

        GitHub/GitHub Enterprise Server

        This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

      • targetUrl

        public final String targetUrl()

        Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

        Bitbucket

        This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

        GitHub/GitHub Enterprise Server

        This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

        Returns:
        Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.

        Bitbucket

        This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation.

        GitHub/GitHub Enterprise Server

        This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.

      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)