com.amazonaws.services.storagegateway.model

## クラス StorageGatewayError

- java.lang.Object
- - com.amazonaws.services.storagegateway.model.StorageGatewayError

- すべての実装されたインタフェース:
    java.io.Serializable

      public class StorageGatewayError
      extends java.lang.Object
      implements java.io.Serializable

  Provides additional information about an error that was returned by the service as an InvalidGatewayRequestException or InternalServiceError. See the `errorCode` and `errorDetails` members for more information about the error.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `StorageGatewayError()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `StorageGatewayError` | `addErrorDetailsEntry(java.lang.String key, java.lang.String value)` Human-readable text that provides detail about the error that occured.
    `StorageGatewayError` | `clearErrorDetailsEntries()` Removes all the entries added into ErrorDetails.
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getErrorCode()` Additional information about the error.
    `java.util.Map<java.lang.String,java.lang.String>` | `getErrorDetails()` Human-readable text that provides detail about the error that occured.
    `int` | `hashCode()`
    `void` | `setErrorCode(ErrorCode errorCode)` Additional information about the error.
    `void` | `setErrorCode(java.lang.String errorCode)` Additional information about the error.
    `void` | `setErrorDetails(java.util.Map<java.lang.String,java.lang.String> errorDetails)` Human-readable text that provides detail about the error that occured.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `StorageGatewayError` | `withErrorCode(ErrorCode errorCode)` Additional information about the error.
    `StorageGatewayError` | `withErrorCode(java.lang.String errorCode)` Additional information about the error.
    `StorageGatewayError` | `withErrorDetails(java.util.Map<java.lang.String,java.lang.String> errorDetails)` Human-readable text that provides detail about the error that occured.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### StorageGatewayError

          public StorageGatewayError()

  - ### メソッドの詳細

    - #### getErrorCode

          public java.lang.String getErrorCode()

      Additional information about the error.

      Constraints:
      Allowed Values: ActivationKeyExpired, ActivationKeyInvalid, ActivationKeyNotFound, GatewayInternalError, GatewayNotConnected, GatewayNotFound, GatewayProxyNetworkConnectionBusy, AuthenticationFailure, BandwidthThrottleScheduleNotFound, Blocked, CannotExportSnapshot, ChapCredentialNotFound, DiskAlreadyAllocated, DiskDoesNotExist, DiskSizeGreaterThanVolumeMaxSize, DiskSizeLessThanVolumeSize, DiskSizeNotGigAligned, DuplicateCertificateInfo, DuplicateSchedule, EndpointNotFound, IAMNotSupported, InitiatorInvalid, InitiatorNotFound, InternalError, InvalidGateway, InvalidEndpoint, 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

      戻り値:
        Additional information about the error.
      関連項目:
        `ErrorCode`

    - #### setErrorCode

          public void setErrorCode(java.lang.String errorCode)

      Additional information about the error.

      Constraints:
      Allowed Values: ActivationKeyExpired, ActivationKeyInvalid, ActivationKeyNotFound, GatewayInternalError, GatewayNotConnected, GatewayNotFound, GatewayProxyNetworkConnectionBusy, AuthenticationFailure, BandwidthThrottleScheduleNotFound, Blocked, CannotExportSnapshot, ChapCredentialNotFound, DiskAlreadyAllocated, DiskDoesNotExist, DiskSizeGreaterThanVolumeMaxSize, DiskSizeLessThanVolumeSize, DiskSizeNotGigAligned, DuplicateCertificateInfo, DuplicateSchedule, EndpointNotFound, IAMNotSupported, InitiatorInvalid, InitiatorNotFound, InternalError, InvalidGateway, InvalidEndpoint, 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

      パラメータ:
        `errorCode` - Additional information about the error.
      関連項目:
        `ErrorCode`

    - #### withErrorCode

          public StorageGatewayError withErrorCode(java.lang.String errorCode)

      Additional information about the error.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: ActivationKeyExpired, ActivationKeyInvalid, ActivationKeyNotFound, GatewayInternalError, GatewayNotConnected, GatewayNotFound, GatewayProxyNetworkConnectionBusy, AuthenticationFailure, BandwidthThrottleScheduleNotFound, Blocked, CannotExportSnapshot, ChapCredentialNotFound, DiskAlreadyAllocated, DiskDoesNotExist, DiskSizeGreaterThanVolumeMaxSize, DiskSizeLessThanVolumeSize, DiskSizeNotGigAligned, DuplicateCertificateInfo, DuplicateSchedule, EndpointNotFound, IAMNotSupported, InitiatorInvalid, InitiatorNotFound, InternalError, InvalidGateway, InvalidEndpoint, 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

      パラメータ:
        `errorCode` - Additional information about the error.
      関連項目:
        `ErrorCode`

    - #### setErrorCode

          public void setErrorCode(ErrorCode errorCode)

      Additional information about the error.

      Constraints:
      Allowed Values: ActivationKeyExpired, ActivationKeyInvalid, ActivationKeyNotFound, GatewayInternalError, GatewayNotConnected, GatewayNotFound, GatewayProxyNetworkConnectionBusy, AuthenticationFailure, BandwidthThrottleScheduleNotFound, Blocked, CannotExportSnapshot, ChapCredentialNotFound, DiskAlreadyAllocated, DiskDoesNotExist, DiskSizeGreaterThanVolumeMaxSize, DiskSizeLessThanVolumeSize, DiskSizeNotGigAligned, DuplicateCertificateInfo, DuplicateSchedule, EndpointNotFound, IAMNotSupported, InitiatorInvalid, InitiatorNotFound, InternalError, InvalidGateway, InvalidEndpoint, 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

      パラメータ:
        `errorCode` - Additional information about the error.
      関連項目:
        `ErrorCode`

    - #### withErrorCode

          public StorageGatewayError withErrorCode(ErrorCode errorCode)

      Additional information about the error.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Allowed Values: ActivationKeyExpired, ActivationKeyInvalid, ActivationKeyNotFound, GatewayInternalError, GatewayNotConnected, GatewayNotFound, GatewayProxyNetworkConnectionBusy, AuthenticationFailure, BandwidthThrottleScheduleNotFound, Blocked, CannotExportSnapshot, ChapCredentialNotFound, DiskAlreadyAllocated, DiskDoesNotExist, DiskSizeGreaterThanVolumeMaxSize, DiskSizeLessThanVolumeSize, DiskSizeNotGigAligned, DuplicateCertificateInfo, DuplicateSchedule, EndpointNotFound, IAMNotSupported, InitiatorInvalid, InitiatorNotFound, InternalError, InvalidGateway, InvalidEndpoint, 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

      パラメータ:
        `errorCode` - Additional information about the error.
      関連項目:
        `ErrorCode`

    - #### getErrorDetails

          public java.util.Map<java.lang.String,java.lang.String> getErrorDetails()

      Human-readable text that provides detail about the error that occured.
      戻り値:
        Human-readable text that provides detail about the error that occured.

    - #### setErrorDetails

          public void setErrorDetails(java.util.Map<java.lang.String,java.lang.String> errorDetails)

      Human-readable text that provides detail about the error that occured.
      パラメータ:
        `errorDetails` - Human-readable text that provides detail about the error that occured.

    - #### withErrorDetails

          public StorageGatewayError withErrorDetails(java.util.Map<java.lang.String,java.lang.String> errorDetails)

      Human-readable text that provides detail about the error that occured.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `errorDetails` - Human-readable text that provides detail about the error that occured.

    - #### addErrorDetailsEntry

          public StorageGatewayError addErrorDetailsEntry(java.lang.String key,
                                                 java.lang.String value)

      Human-readable text that provides detail about the error that occured.

      The method adds a new key-value pair into ErrorDetails parameter, and returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `key` - The key of the entry to be added into ErrorDetails.
        `value` - The corresponding value of the entry to be added into ErrorDetails.

    - #### clearErrorDetailsEntries

          public StorageGatewayError clearErrorDetailsEntries()

      Removes all the entries added into ErrorDetails.

      Returns a reference to this object so that method calls can be chained together.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`