@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedApprovalRuleTemplatesForRepositoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedApprovalRuleTemplatesForRepositoryResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedApprovalRuleTemplatesForRepositoryResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getApprovalRuleTemplateNames()
The names of all approval rule templates associated with the repository.
|
String |
getNextToken()
An enumeration token that allows the operation to batch the next results of the operation.
|
int |
hashCode() |
void |
setApprovalRuleTemplateNames(Collection<String> approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
|
void |
setNextToken(String nextToken)
An enumeration token that allows the operation to batch the next results of the operation.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociatedApprovalRuleTemplatesForRepositoryResult |
withApprovalRuleTemplateNames(Collection<String> approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
|
ListAssociatedApprovalRuleTemplatesForRepositoryResult |
withApprovalRuleTemplateNames(String... approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
|
ListAssociatedApprovalRuleTemplatesForRepositoryResult |
withNextToken(String nextToken)
An enumeration token that allows the operation to batch the next results of the operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListAssociatedApprovalRuleTemplatesForRepositoryResult()
public List<String> getApprovalRuleTemplateNames()
The names of all approval rule templates associated with the repository.
public void setApprovalRuleTemplateNames(Collection<String> approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
approvalRuleTemplateNames
- The names of all approval rule templates associated with the repository.public ListAssociatedApprovalRuleTemplatesForRepositoryResult withApprovalRuleTemplateNames(String... approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
NOTE: This method appends the values to the existing list (if any). Use
setApprovalRuleTemplateNames(java.util.Collection)
or
withApprovalRuleTemplateNames(java.util.Collection)
if you want to override the existing values.
approvalRuleTemplateNames
- The names of all approval rule templates associated with the repository.public ListAssociatedApprovalRuleTemplatesForRepositoryResult withApprovalRuleTemplateNames(Collection<String> approvalRuleTemplateNames)
The names of all approval rule templates associated with the repository.
approvalRuleTemplateNames
- The names of all approval rule templates associated with the repository.public void setNextToken(String nextToken)
An enumeration token that allows the operation to batch the next results of the operation.
nextToken
- An enumeration token that allows the operation to batch the next results of the operation.public String getNextToken()
An enumeration token that allows the operation to batch the next results of the operation.
public ListAssociatedApprovalRuleTemplatesForRepositoryResult withNextToken(String nextToken)
An enumeration token that allows the operation to batch the next results of the operation.
nextToken
- An enumeration token that allows the operation to batch the next results of the operation.public String toString()
toString
in class Object
Object.toString()
public ListAssociatedApprovalRuleTemplatesForRepositoryResult clone()