@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestRepositoryTriggersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a test repository triggers operation.
NOOP
Constructor and Description |
---|
TestRepositoryTriggersRequest() |
Modifier and Type | Method and Description |
---|---|
TestRepositoryTriggersRequest |
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 in which to test the triggers.
|
List<RepositoryTrigger> |
getTriggers()
The list of triggers to test.
|
int |
hashCode() |
void |
setRepositoryName(String repositoryName)
The name of the repository in which to test the triggers.
|
void |
setTriggers(Collection<RepositoryTrigger> triggers)
The list of triggers to test.
|
String |
toString()
Returns a string representation of this object.
|
TestRepositoryTriggersRequest |
withRepositoryName(String repositoryName)
The name of the repository in which to test the triggers.
|
TestRepositoryTriggersRequest |
withTriggers(Collection<RepositoryTrigger> triggers)
The list of triggers to test.
|
TestRepositoryTriggersRequest |
withTriggers(RepositoryTrigger... triggers)
The list of triggers to test.
|
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 in which to test the triggers.
repositoryName
- The name of the repository in which to test the triggers.public String getRepositoryName()
The name of the repository in which to test the triggers.
public TestRepositoryTriggersRequest withRepositoryName(String repositoryName)
The name of the repository in which to test the triggers.
repositoryName
- The name of the repository in which to test the triggers.public List<RepositoryTrigger> getTriggers()
The list of triggers to test.
public void setTriggers(Collection<RepositoryTrigger> triggers)
The list of triggers to test.
triggers
- The list of triggers to test.public TestRepositoryTriggersRequest withTriggers(RepositoryTrigger... triggers)
The list of triggers to test.
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 list of triggers to test.public TestRepositoryTriggersRequest withTriggers(Collection<RepositoryTrigger> triggers)
The list of triggers to test.
triggers
- The list of triggers to test.public String toString()
toString
in class Object
Object.toString()
public TestRepositoryTriggersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()