@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVersionError extends Object implements Serializable, Cloneable, StructuredPojo
An error associated with package.
| Constructor and Description |
|---|
PackageVersionError() |
| Modifier and Type | Method and Description |
|---|---|
PackageVersionError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code associated with the error.
|
String |
getErrorMessage()
The error message associated with the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code associated with the error.
|
void |
setErrorMessage(String errorMessage)
The error message associated with the error.
|
String |
toString()
Returns a string representation of this object.
|
PackageVersionError |
withErrorCode(PackageVersionErrorCode errorCode)
The error code associated with the error.
|
PackageVersionError |
withErrorCode(String errorCode)
The error code associated with the error.
|
PackageVersionError |
withErrorMessage(String errorMessage)
The error message associated with the error.
|
public void setErrorCode(String errorCode)
The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
errorCode - The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
PackageVersionErrorCodepublic String getErrorCode()
The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
PackageVersionErrorCodepublic PackageVersionError withErrorCode(String errorCode)
The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
errorCode - The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
PackageVersionErrorCodepublic PackageVersionError withErrorCode(PackageVersionErrorCode errorCode)
The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
errorCode - The error code associated with the error. Valid error codes are:
ALREADY_EXISTS
MISMATCHED_REVISION
MISMATCHED_STATUS
NOT_ALLOWED
NOT_FOUND
SKIPPED
PackageVersionErrorCodepublic void setErrorMessage(String errorMessage)
The error message associated with the error.
errorMessage - The error message associated with the error.public String getErrorMessage()
The error message associated with the error.
public PackageVersionError withErrorMessage(String errorMessage)
The error message associated with the error.
errorMessage - The error message associated with the error.public String toString()
toString in class ObjectObject.toString()public PackageVersionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.