Class PutRepositoryTriggersRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input ofa put repository triggers operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the repository where you want to create or update the trigger.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.toString()
Returns a string representation of this object; useful for testing and debugging.withRepositoryName
(String repositoryName) The name of the repository where you want to create or update the trigger.withTriggers
(RepositoryTrigger... triggers) The JSON block of configuration information for each trigger.withTriggers
(Collection<RepositoryTrigger> triggers) The JSON block of configuration information for each trigger.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
PutRepositoryTriggersRequest
public PutRepositoryTriggersRequest()
-
-
Method Details
-
setRepositoryName
The name of the repository where you want to create or update the trigger.
- Parameters:
repositoryName
- The name of the repository where you want to create or update the trigger.
-
getRepositoryName
The name of the repository where you want to create or update the trigger.
- Returns:
- The name of the repository where you want to create or update the trigger.
-
withRepositoryName
The name of the repository where you want to create or update the trigger.
- Parameters:
repositoryName
- The name of the repository where you want to create or update the trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTriggers
The JSON block of configuration information for each trigger.
- Returns:
- The JSON block of configuration information for each trigger.
-
setTriggers
The JSON block of configuration information for each trigger.
- Parameters:
triggers
- The JSON block of configuration information for each trigger.
-
withTriggers
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-