Class PutRepositoryTriggersRequest

    • Constructor Detail

      • PutRepositoryTriggersRequest

        public PutRepositoryTriggersRequest()
    • Method Detail

      • setRepositoryName

        public void setRepositoryName​(String repositoryName)

        The name of the repository where you want to create or update the trigger.

        Parameters:
        repositoryName - The name of the repository where you want to create or update the trigger.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository where you want to create or update the trigger.

        Returns:
        The name of the repository where you want to create or update the trigger.
      • withRepositoryName

        public PutRepositoryTriggersRequest withRepositoryName​(String repositoryName)

        The name of the repository where you want to create or update the trigger.

        Parameters:
        repositoryName - The name of the repository where you want to create or update the trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTriggers

        public List<RepositoryTrigger> getTriggers()

        The JSON block of configuration information for each trigger.

        Returns:
        The JSON block of configuration information for each trigger.
      • setTriggers

        public void setTriggers​(Collection<RepositoryTrigger> triggers)

        The JSON block of configuration information for each trigger.

        Parameters:
        triggers - The JSON block of configuration information for each trigger.
      • withTriggers

        public PutRepositoryTriggersRequest withTriggers​(Collection<RepositoryTrigger> triggers)

        The JSON block of configuration information for each trigger.

        Parameters:
        triggers - The JSON block of configuration information for each trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object