@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAssociateApprovalRuleTemplateWithRepositoriesError extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about errors in a BatchAssociateApprovalRuleTemplateWithRepositories operation.
Constructor and Description |
---|
BatchAssociateApprovalRuleTemplateWithRepositoriesError() |
Modifier and Type | Method and Description |
---|---|
BatchAssociateApprovalRuleTemplateWithRepositoriesError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
An error code that specifies whether the repository name was not valid or not found.
|
String |
getErrorMessage()
An error message that provides details about why the repository name was not found or not valid.
|
String |
getRepositoryName()
The name of the repository where the association was not made.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
An error code that specifies whether the repository name was not valid or not found.
|
void |
setErrorMessage(String errorMessage)
An error message that provides details about why the repository name was not found or not valid.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the association was not made.
|
String |
toString()
Returns a string representation of this object.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesError |
withErrorCode(String errorCode)
An error code that specifies whether the repository name was not valid or not found.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesError |
withErrorMessage(String errorMessage)
An error message that provides details about why the repository name was not found or not valid.
|
BatchAssociateApprovalRuleTemplateWithRepositoriesError |
withRepositoryName(String repositoryName)
The name of the repository where the association was not made.
|
public BatchAssociateApprovalRuleTemplateWithRepositoriesError()
public void setRepositoryName(String repositoryName)
The name of the repository where the association was not made.
repositoryName
- The name of the repository where the association was not made.public String getRepositoryName()
The name of the repository where the association was not made.
public BatchAssociateApprovalRuleTemplateWithRepositoriesError withRepositoryName(String repositoryName)
The name of the repository where the association was not made.
repositoryName
- The name of the repository where the association was not made.public void setErrorCode(String errorCode)
An error code that specifies whether the repository name was not valid or not found.
errorCode
- An error code that specifies whether the repository name was not valid or not found.public String getErrorCode()
An error code that specifies whether the repository name was not valid or not found.
public BatchAssociateApprovalRuleTemplateWithRepositoriesError withErrorCode(String errorCode)
An error code that specifies whether the repository name was not valid or not found.
errorCode
- An error code that specifies whether the repository name was not valid or not found.public void setErrorMessage(String errorMessage)
An error message that provides details about why the repository name was not found or not valid.
errorMessage
- An error message that provides details about why the repository name was not found or not valid.public String getErrorMessage()
An error message that provides details about why the repository name was not found or not valid.
public BatchAssociateApprovalRuleTemplateWithRepositoriesError withErrorMessage(String errorMessage)
An error message that provides details about why the repository name was not found or not valid.
errorMessage
- An error message that provides details about why the repository name was not found or not valid.public String toString()
toString
in class Object
Object.toString()
public BatchAssociateApprovalRuleTemplateWithRepositoriesError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.