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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetRepositoryTriggersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRepositoryTriggersResultclone()booleanequals(Object obj)StringgetConfigurationId()The system-generated unique ID for the trigger.List<RepositoryTrigger>getTriggers()The JSON block of configuration information for each trigger.inthashCode()voidsetConfigurationId(String configurationId)The system-generated unique ID for the trigger.voidsetTriggers(Collection<RepositoryTrigger> triggers)The JSON block of configuration information for each trigger.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetRepositoryTriggersResultwithConfigurationId(String configurationId)The system-generated unique ID for the trigger.GetRepositoryTriggersResultwithTriggers(RepositoryTrigger... triggers)The JSON block of configuration information for each trigger.GetRepositoryTriggersResultwithTriggers(Collection<RepositoryTrigger> triggers)The JSON block of configuration information for each trigger.
-
-
-
Method Detail
-
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)orwithTriggers(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetRepositoryTriggersResult clone()
-
-