@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateApprovalRuleTemplateWithRepositoriesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApprovalRuleTemplateName()
The name of the template you want to associate with one or more repositories.
|
List<String> |
getRepositoryNames()
The names of the repositories you want to associate with the template.
|
int |
hashCode() |
void |
setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template you want to associate with one or more repositories.
|
void |
setRepositoryNames(Collection<String> repositoryNames)
The names of the repositories you want to associate with the template.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest |
withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template you want to associate with one or more repositories.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest |
withRepositoryNames(Collection<String> repositoryNames)
The names of the repositories you want to associate with the template.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest |
withRepositoryNames(String... repositoryNames)
The names of the repositories you want to associate with the template.
|
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 BatchAssociateApprovalRuleTemplateWithRepositoriesRequest()
public void setApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template you want to associate with one or more repositories.
approvalRuleTemplateName
- The name of the template you want to associate with one or more repositories.public String getApprovalRuleTemplateName()
The name of the template you want to associate with one or more repositories.
public BatchAssociateApprovalRuleTemplateWithRepositoriesRequest withApprovalRuleTemplateName(String approvalRuleTemplateName)
The name of the template you want to associate with one or more repositories.
approvalRuleTemplateName
- The name of the template you want to associate with one or more repositories.public List<String> getRepositoryNames()
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
The length constraint limit is for each string in the array. The array itself can be empty.
public void setRepositoryNames(Collection<String> repositoryNames)
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
repositoryNames
- The names of the repositories you want to associate with the template. The length constraint limit is for each string in the array. The array itself can be empty.
public BatchAssociateApprovalRuleTemplateWithRepositoriesRequest withRepositoryNames(String... repositoryNames)
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
NOTE: This method appends the values to the existing list (if any). Use
setRepositoryNames(java.util.Collection)
or withRepositoryNames(java.util.Collection)
if you
want to override the existing values.
repositoryNames
- The names of the repositories you want to associate with the template. The length constraint limit is for each string in the array. The array itself can be empty.
public BatchAssociateApprovalRuleTemplateWithRepositoriesRequest withRepositoryNames(Collection<String> repositoryNames)
The names of the repositories you want to associate with the template.
The length constraint limit is for each string in the array. The array itself can be empty.
repositoryNames
- The names of the repositories you want to associate with the template. The length constraint limit is for each string in the array. The array itself can be empty.
public String toString()
toString
in class Object
Object.toString()
public BatchAssociateApprovalRuleTemplateWithRepositoriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()