@Generated(value="software.amazon.awssdk:codegen") public final class BatchAssociateApprovalRuleTemplateWithRepositoriesRequest extends CodeCommitRequest implements ToCopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder,BatchAssociateApprovalRuleTemplateWithRepositoriesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
approvalRuleTemplateName()
The name of the template you want to associate with one or more repositories.
|
static BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRepositoryNames()
Returns true if the RepositoryNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
repositoryNames()
The names of the repositories you want to associate with the template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder> |
serializableBuilderClass() |
BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String approvalRuleTemplateName()
The name of the template you want to associate with one or more repositories.
public boolean hasRepositoryNames()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRepositoryNames() to see if a value was sent in this field.
The length constraint limit is for each string in the array. The array itself can be empty.
public BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder,BatchAssociateApprovalRuleTemplateWithRepositoriesRequest>toBuilder in class CodeCommitRequestpublic static BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder builder()
public static Class<? extends BatchAssociateApprovalRuleTemplateWithRepositoriesRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.