public class GetRepositoryTriggersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a get repository triggers operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
configurationId
The system-generated unique ID for the trigger.
|
private java.util.List<RepositoryTrigger> |
triggers
The JSON block of configuration information for each trigger.
|
Constructor and Description |
---|
GetRepositoryTriggersResult() |
Modifier and Type | Method and Description |
---|---|
GetRepositoryTriggersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfigurationId()
The system-generated unique ID for the trigger.
|
java.util.List<RepositoryTrigger> |
getTriggers()
The JSON block of configuration information for each trigger.
|
int |
hashCode() |
void |
setConfigurationId(java.lang.String configurationId)
The system-generated unique ID for the trigger.
|
void |
setTriggers(java.util.Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRepositoryTriggersResult |
withConfigurationId(java.lang.String configurationId)
The system-generated unique ID for the trigger.
|
GetRepositoryTriggersResult |
withTriggers(java.util.Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
|
GetRepositoryTriggersResult |
withTriggers(RepositoryTrigger... triggers)
The JSON block of configuration information for each trigger.
|
private java.lang.String configurationId
The system-generated unique ID for the trigger.
private java.util.List<RepositoryTrigger> triggers
The JSON block of configuration information for each trigger.
public void setConfigurationId(java.lang.String configurationId)
The system-generated unique ID for the trigger.
configurationId
- The system-generated unique ID for the trigger.public java.lang.String getConfigurationId()
The system-generated unique ID for the trigger.
public GetRepositoryTriggersResult withConfigurationId(java.lang.String configurationId)
The system-generated unique ID for the trigger.
configurationId
- The system-generated unique ID for the trigger.public java.util.List<RepositoryTrigger> getTriggers()
The JSON block of configuration information for each trigger.
public void setTriggers(java.util.Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
triggers
- The JSON block of configuration information for each trigger.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.
triggers
- The JSON block of configuration information for each trigger.public GetRepositoryTriggersResult withTriggers(java.util.Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
triggers
- The JSON block of configuration information for each trigger.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetRepositoryTriggersResult clone()
clone
in class java.lang.Object