@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
PackageVersionErrorCode
public 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
PackageVersionErrorCode
public 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
PackageVersionErrorCode
public 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
PackageVersionErrorCode
public 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 Object
Object.toString()
public PackageVersionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.