Class GetRepositoryTriggersResult

java.lang.Object
com.amazonaws.services.codecommit.model.GetRepositoryTriggersResult
All Implemented Interfaces:
Serializable, Cloneable

public class GetRepositoryTriggersResult extends Object implements Serializable, Cloneable

Represents the output of a get repository triggers operation.

See Also:
  • Constructor Details

    • GetRepositoryTriggersResult

      public GetRepositoryTriggersResult()
  • Method Details

    • setConfigurationId

      public void setConfigurationId(String configurationId)

      The system-generated unique ID for the trigger.

      Parameters:
      configurationId - The system-generated unique ID for the trigger.
    • getConfigurationId

      public String getConfigurationId()

      The system-generated unique ID for the trigger.

      Returns:
      The system-generated unique ID for the trigger.
    • withConfigurationId

      public GetRepositoryTriggersResult withConfigurationId(String configurationId)

      The system-generated unique ID for the trigger.

      Parameters:
      configurationId - The system-generated unique ID for 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 GetRepositoryTriggersResult withTriggers(RepositoryTrigger... triggers)

      The JSON block of configuration information for each trigger.

      NOTE: This method appends the values to the existing list (if any). Use setTriggers(java.util.Collection) or withTriggers(java.util.Collection) if you want to override the existing values.

      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.
    • withTriggers

      public GetRepositoryTriggersResult 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object