@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDisassociateApprovalRuleTemplateFromRepositoriesError extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.
Constructor and Description |
---|
BatchDisassociateApprovalRuleTemplateFromRepositoriesError() |
Modifier and Type | Method and Description |
---|---|
BatchDisassociateApprovalRuleTemplateFromRepositoriesError |
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 either not found or not valid.
|
String |
getRepositoryName()
The name of the repository where the association with the template was not able to be removed.
|
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 either not found or not valid.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the association with the template was not able to be removed.
|
String |
toString()
Returns a string representation of this object.
|
BatchDisassociateApprovalRuleTemplateFromRepositoriesError |
withErrorCode(String errorCode)
An error code that specifies whether the repository name was not valid or not found.
|
BatchDisassociateApprovalRuleTemplateFromRepositoriesError |
withErrorMessage(String errorMessage)
An error message that provides details about why the repository name was either not found or not valid.
|
BatchDisassociateApprovalRuleTemplateFromRepositoriesError |
withRepositoryName(String repositoryName)
The name of the repository where the association with the template was not able to be removed.
|
public BatchDisassociateApprovalRuleTemplateFromRepositoriesError()
public void setRepositoryName(String repositoryName)
The name of the repository where the association with the template was not able to be removed.
repositoryName
- The name of the repository where the association with the template was not able to be removed.public String getRepositoryName()
The name of the repository where the association with the template was not able to be removed.
public BatchDisassociateApprovalRuleTemplateFromRepositoriesError withRepositoryName(String repositoryName)
The name of the repository where the association with the template was not able to be removed.
repositoryName
- The name of the repository where the association with the template was not able to be removed.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 BatchDisassociateApprovalRuleTemplateFromRepositoriesError 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 either not found or not valid.
errorMessage
- An error message that provides details about why the repository name was either not found or not valid.public String getErrorMessage()
An error message that provides details about why the repository name was either not found or not valid.
public BatchDisassociateApprovalRuleTemplateFromRepositoriesError withErrorMessage(String errorMessage)
An error message that provides details about why the repository name was either not found or not valid.
errorMessage
- An error message that provides details about why the repository name was either not found or not valid.public String toString()
toString
in class Object
Object.toString()
public BatchDisassociateApprovalRuleTemplateFromRepositoriesError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.