@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRepositoryTriggersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input ofa put repository triggers operation.
NOOP
Constructor and Description |
---|
PutRepositoryTriggersRequest() |
Modifier and Type | Method and Description |
---|---|
PutRepositoryTriggersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRepositoryName()
The name of the repository where you want to create or update the trigger.
|
List<RepositoryTrigger> |
getTriggers()
The JSON block of configuration information for each trigger.
|
int |
hashCode() |
void |
setRepositoryName(String repositoryName)
The name of the repository where you want to create or update the trigger.
|
void |
setTriggers(Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutRepositoryTriggersRequest |
withRepositoryName(String repositoryName)
The name of the repository where you want to create or update the trigger.
|
PutRepositoryTriggersRequest |
withTriggers(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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(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 String getRepositoryName()
The name of the repository where you want to create or update the trigger.
public PutRepositoryTriggersRequest withRepositoryName(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 List<RepositoryTrigger> getTriggers()
The JSON block of configuration information for each trigger.
public void setTriggers(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(Collection<RepositoryTrigger> triggers)
The JSON block of configuration information for each trigger.
triggers
- The JSON block of configuration information for each trigger.public String toString()
toString
in class Object
Object.toString()
public PutRepositoryTriggersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.