Class ScopeConfiguration

    • Method Detail

      • name

        public final String name()

        The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.

        Returns:
        The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.
      • domain

        public final String domain()

        The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.

        Returns:
        The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
      • scopeAsString

        public final String scopeAsString()

        The type of scope for a GitHub or GitLab webhook.

        If the service returns an enum value that is not available in the current SDK version, scope will return WebhookScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scopeAsString().

        Returns:
        The type of scope for a GitHub or GitLab webhook.
        See Also:
        WebhookScopeType
      • 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)