Class RepositorySyncDefinition

    • Method Detail

      • branch

        public final String branch()

        The branch specified for a repository sync definition.

        Returns:
        The branch specified for a repository sync definition.
      • directory

        public final String directory()

        The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration.

        Returns:
        The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration.
      • parent

        public final String parent()

        The parent resource specified for a repository sync definition.

        Returns:
        The parent resource specified for a repository sync definition.
      • target

        public final String target()

        The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.

        Returns:
        The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.
      • 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)