Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Enum ErrorCode

java.lang.Object
  extended by java.lang.Enum<ErrorCode>
      extended by com.amazonaws.services.storagegateway.model.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>

public enum ErrorCode
extends Enum<ErrorCode>

Error Code


Enum Constant Summary
ActivationKeyExpired
           
ActivationKeyInvalid
           
ActivationKeyNotFound
           
AuthenticationFailure
           
BandwidthThrottleScheduleNotFound
           
Blocked
           
CannotExportSnapshot
           
ChapCredentialNotFound
           
DiskAlreadyAllocated
           
DiskDoesNotExist
           
DiskSizeGreaterThanVolumeMaxSize
           
DiskSizeLessThanVolumeSize
           
DiskSizeNotGigAligned
           
DuplicateCertificateInfo
           
DuplicateSchedule
           
EndpointNotFound
           
GatewayInternalError
           
GatewayNotConnected
           
GatewayNotFound
           
GatewayProxyNetworkConnectionBusy
           
IAMNotSupported
           
InitiatorInvalid
           
InitiatorNotFound
           
InternalError
           
InvalidEndpoint
           
InvalidGateway
           
InvalidParameters
           
InvalidSchedule
           
LocalStorageLimitExceeded
           
LunAlreadyAllocated
           
LunInvalid
           
MaximumContentLengthExceeded
           
MaximumVolumeCountExceeded
           
NetworkConfigurationChanged
           
NoDisksAvailable
           
NotImplemented
           
NotSupported
           
OperationAborted
           
OutdatedGateway
           
ParametersNotImplemented
           
RegionInvalid
           
RequestTimeout
           
ServiceUnavailable
           
SnapshotDeleted
           
SnapshotIdInvalid
           
SnapshotInProgress
           
SnapshotNotFound
           
SnapshotScheduleNotFound
           
StagingAreaFull
           
StorageFailure
           
TargetAlreadyExists
           
TargetInvalid
           
TargetNotFound
           
UnauthorizedOperation
           
VolumeAlreadyExists
           
VolumeIdInvalid
           
VolumeInUse
           
VolumeNotFound
           
VolumeNotReady
           
 
Method Summary
static ErrorCode fromValue(String value)
          Use this in place of valueOf.
 String toString()
           
static ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ActivationKeyExpired

public static final ErrorCode ActivationKeyExpired

ActivationKeyInvalid

public static final ErrorCode ActivationKeyInvalid

ActivationKeyNotFound

public static final ErrorCode ActivationKeyNotFound

GatewayInternalError

public static final ErrorCode GatewayInternalError

GatewayNotConnected

public static final ErrorCode GatewayNotConnected

GatewayNotFound

public static final ErrorCode GatewayNotFound

GatewayProxyNetworkConnectionBusy

public static final ErrorCode GatewayProxyNetworkConnectionBusy

AuthenticationFailure

public static final ErrorCode AuthenticationFailure

BandwidthThrottleScheduleNotFound

public static final ErrorCode BandwidthThrottleScheduleNotFound

Blocked

public static final ErrorCode Blocked

CannotExportSnapshot

public static final ErrorCode CannotExportSnapshot

ChapCredentialNotFound

public static final ErrorCode ChapCredentialNotFound

DiskAlreadyAllocated

public static final ErrorCode DiskAlreadyAllocated

DiskDoesNotExist

public static final ErrorCode DiskDoesNotExist

DiskSizeGreaterThanVolumeMaxSize

public static final ErrorCode DiskSizeGreaterThanVolumeMaxSize

DiskSizeLessThanVolumeSize

public static final ErrorCode DiskSizeLessThanVolumeSize

DiskSizeNotGigAligned

public static final ErrorCode DiskSizeNotGigAligned

DuplicateCertificateInfo

public static final ErrorCode DuplicateCertificateInfo

DuplicateSchedule

public static final ErrorCode DuplicateSchedule

EndpointNotFound

public static final ErrorCode EndpointNotFound

IAMNotSupported

public static final ErrorCode IAMNotSupported

InitiatorInvalid

public static final ErrorCode InitiatorInvalid

InitiatorNotFound

public static final ErrorCode InitiatorNotFound

InternalError

public static final ErrorCode InternalError

InvalidGateway

public static final ErrorCode InvalidGateway

InvalidEndpoint

public static final ErrorCode InvalidEndpoint

InvalidParameters

public static final ErrorCode InvalidParameters

InvalidSchedule

public static final ErrorCode InvalidSchedule

LocalStorageLimitExceeded

public static final ErrorCode LocalStorageLimitExceeded

LunAlreadyAllocated

public static final ErrorCode LunAlreadyAllocated

LunInvalid

public static final ErrorCode LunInvalid

MaximumContentLengthExceeded

public static final ErrorCode MaximumContentLengthExceeded

MaximumVolumeCountExceeded

public static final ErrorCode MaximumVolumeCountExceeded

NetworkConfigurationChanged

public static final ErrorCode NetworkConfigurationChanged

NoDisksAvailable

public static final ErrorCode NoDisksAvailable

NotImplemented

public static final ErrorCode NotImplemented

NotSupported

public static final ErrorCode NotSupported

OperationAborted

public static final ErrorCode OperationAborted

OutdatedGateway

public static final ErrorCode OutdatedGateway

ParametersNotImplemented

public static final ErrorCode ParametersNotImplemented

RegionInvalid

public static final ErrorCode RegionInvalid

RequestTimeout

public static final ErrorCode RequestTimeout

ServiceUnavailable

public static final ErrorCode ServiceUnavailable

SnapshotDeleted

public static final ErrorCode SnapshotDeleted

SnapshotIdInvalid

public static final ErrorCode SnapshotIdInvalid

SnapshotInProgress

public static final ErrorCode SnapshotInProgress

SnapshotNotFound

public static final ErrorCode SnapshotNotFound

SnapshotScheduleNotFound

public static final ErrorCode SnapshotScheduleNotFound

StagingAreaFull

public static final ErrorCode StagingAreaFull

StorageFailure

public static final ErrorCode StorageFailure

TargetAlreadyExists

public static final ErrorCode TargetAlreadyExists

TargetInvalid

public static final ErrorCode TargetInvalid

TargetNotFound

public static final ErrorCode TargetNotFound

UnauthorizedOperation

public static final ErrorCode UnauthorizedOperation

VolumeAlreadyExists

public static final ErrorCode VolumeAlreadyExists

VolumeIdInvalid

public static final ErrorCode VolumeIdInvalid

VolumeInUse

public static final ErrorCode VolumeInUse

VolumeNotFound

public static final ErrorCode VolumeNotFound

VolumeNotReady

public static final ErrorCode VolumeNotReady
Method Detail

values

public static ErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ErrorCode c : ErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<ErrorCode>

fromValue

public static ErrorCode fromValue(String value)
Use this in place of valueOf.

Parameters:
value - real value
Returns:
ErrorCode corresponding to the value


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.