public class PutRepositoryTriggersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input ofa put repository triggers operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
repositoryName
The name of the repository where you want to create or update the
trigger.
|
private java.util.List<RepositoryTrigger> |
triggers
The JSON block of configuration information for each trigger.
|
NOOP
Constructor and Description |
---|
PutRepositoryTriggersRequest() |
Modifier and Type | Method and Description |
---|---|
PutRepositoryTriggersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRepositoryName()
The name of the repository where you want to create or update the
trigger.
|
java.util.List<RepositoryTrigger> |
getTriggers()
The JSON block of configuration information for each trigger.
|
int |
hashCode() |
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository where you want to create or update 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.
|
PutRepositoryTriggersRequest |
withRepositoryName(java.lang.String repositoryName)
The name of the repository where you want to create or update the
trigger.
|
PutRepositoryTriggersRequest |
withTriggers(java.util.Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
|
PutRepositoryTriggersRequest |
withTriggers(RepositoryTrigger... triggers)
The JSON block of configuration information for each trigger.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String repositoryName
The name of the repository where you want to create or update the trigger.
private java.util.List<RepositoryTrigger> triggers
The JSON block of configuration information for each trigger.
public void setRepositoryName(java.lang.String repositoryName)
The name of the repository where you want to create or update the trigger.
repositoryName
- The name of the repository where you want to create or update the
trigger.public java.lang.String getRepositoryName()
The name of the repository where you want to create or update the trigger.
public PutRepositoryTriggersRequest withRepositoryName(java.lang.String repositoryName)
The name of the repository where you want to create or update the trigger.
repositoryName
- The name of the repository where you want to create or update 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 PutRepositoryTriggersRequest 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 PutRepositoryTriggersRequest 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 PutRepositoryTriggersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()