Class GitConfig

    • Method Detail

      • repositoryUrl

        public final String repositoryUrl()

        The URL where the Git repository is located.

        Returns:
        The URL where the Git repository is located.
      • branch

        public final String branch()

        The default branch for the Git repository.

        Returns:
        The default branch for the Git repository.
      • secretArn

        public final String secretArn()

        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

        {"username": UserName, "password": Password}

        Returns:
        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

        {"username": UserName, "password": Password}

      • 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)