com.amazonaws.services.storagegateway.model

## クラス DescribeCacheResult

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

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

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

  A JSON object containing the following fields:

  - DescribeCacheOutput$CacheAllocatedInBytes
  - DescribeCacheOutput$CacheDirtyPercentage
  - DescribeCacheOutput$CacheHitPercentage
  - DescribeCacheOutput$CacheMissPercentage
  - DescribeCacheOutput$CacheUsedPercentage
  - DescribeCacheOutput$DiskIds
  - DescribeCacheOutput$GatewayARN
  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Long` | `getCacheAllocatedInBytes()` The size allocated, in bytes, for the cache.
    `java.lang.Double` | `getCacheDirtyPercentage()` The percentage of the cache that contains data that has not yet been persisted to Amazon S3.
    `java.lang.Double` | `getCacheHitPercentage()` The percentage (0 to 100) of data read from the storage volume that was read from cache.
    `java.lang.Double` | `getCacheMissPercentage()` TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3.
    `java.lang.Double` | `getCacheUsedPercentage()` The percentage (0 to 100) of the cache storage in use.
    `java.util.List<java.lang.String>` | `getDiskIds()` An array of the gateway's local disk IDs that are configured as cache.
    `java.lang.String` | `getGatewayARN()` In response, AWS Storage Gateway returns the ARN of the activated gateway.
    `int` | `hashCode()`
    `void` | `setCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)` The size allocated, in bytes, for the cache.
    `void` | `setCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)` The percentage of the cache that contains data that has not yet been persisted to Amazon S3.
    `void` | `setCacheHitPercentage(java.lang.Double cacheHitPercentage)` The percentage (0 to 100) of data read from the storage volume that was read from cache.
    `void` | `setCacheMissPercentage(java.lang.Double cacheMissPercentage)` TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3.
    `void` | `setCacheUsedPercentage(java.lang.Double cacheUsedPercentage)` The percentage (0 to 100) of the cache storage in use.
    `void` | `setDiskIds(java.util.Collection<java.lang.String> diskIds)` An array of the gateway's local disk IDs that are configured as cache.
    `void` | `setGatewayARN(java.lang.String gatewayARN)` In response, AWS Storage Gateway returns the ARN of the activated gateway.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeCacheResult` | `withCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)` The size allocated, in bytes, for the cache.
    `DescribeCacheResult` | `withCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)` The percentage of the cache that contains data that has not yet been persisted to Amazon S3.
    `DescribeCacheResult` | `withCacheHitPercentage(java.lang.Double cacheHitPercentage)` The percentage (0 to 100) of data read from the storage volume that was read from cache.
    `DescribeCacheResult` | `withCacheMissPercentage(java.lang.Double cacheMissPercentage)` TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3.
    `DescribeCacheResult` | `withCacheUsedPercentage(java.lang.Double cacheUsedPercentage)` The percentage (0 to 100) of the cache storage in use.
    `DescribeCacheResult` | `withDiskIds(java.util.Collection<java.lang.String> diskIds)` An array of the gateway's local disk IDs that are configured as cache.
    `DescribeCacheResult` | `withDiskIds(java.lang.String... diskIds)` An array of the gateway's local disk IDs that are configured as cache.
    `DescribeCacheResult` | `withGatewayARN(java.lang.String gatewayARN)` In response, AWS Storage Gateway returns the ARN of the activated gateway.

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

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

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

    - #### DescribeCacheResult

          public DescribeCacheResult()

  - ### メソッドの詳細

    - #### getGatewayARN

          public java.lang.String getGatewayARN()

      In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

      Constraints:
      Length: 50 - 500

      戻り値:
        In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

    - #### setGatewayARN

          public void setGatewayARN(java.lang.String gatewayARN)

      In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

      Constraints:
      Length: 50 - 500

      パラメータ:
        `gatewayARN` - In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

    - #### withGatewayARN

          public DescribeCacheResult withGatewayARN(java.lang.String gatewayARN)

      In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

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

      Constraints:
      Length: 50 - 500

      パラメータ:
        `gatewayARN` - In response, AWS Storage Gateway returns the ARN of the activated gateway. If you don't remember the ARN of a gateway, you can use the List Gateways operations to return a list of gateways for your account and region.

    - #### getDiskIds

          public java.util.List<java.lang.String> getDiskIds()

      An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.
      戻り値:
        An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

    - #### setDiskIds

          public void setDiskIds(java.util.Collection<java.lang.String> diskIds)

      An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.
      パラメータ:
        `diskIds` - An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

    - #### withDiskIds

          public DescribeCacheResult withDiskIds(java.lang.String... diskIds)

      An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

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

      パラメータ:
        `diskIds` - An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

    - #### withDiskIds

          public DescribeCacheResult withDiskIds(java.util.Collection<java.lang.String> diskIds)

      An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

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

      パラメータ:
        `diskIds` - An array of the gateway's local disk IDs that are configured as cache. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as cache, then the `DiskIds` array is empty.

    - #### getCacheAllocatedInBytes

          public java.lang.Long getCacheAllocatedInBytes()

      The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.
      戻り値:
        The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.

    - #### setCacheAllocatedInBytes

          public void setCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)

      The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.
      パラメータ:
        `cacheAllocatedInBytes` - The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.

    - #### withCacheAllocatedInBytes

          public DescribeCacheResult withCacheAllocatedInBytes(java.lang.Long cacheAllocatedInBytes)

      The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.

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

      パラメータ:
        `cacheAllocatedInBytes` - The size allocated, in bytes, for the cache. If no cache is defined for the gateway, this field returns 0.

    - #### getCacheUsedPercentage

          public java.lang.Double getCacheUsedPercentage()

      The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.
      戻り値:
        The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.

    - #### setCacheUsedPercentage

          public void setCacheUsedPercentage(java.lang.Double cacheUsedPercentage)

      The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.
      パラメータ:
        `cacheUsedPercentage` - The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.

    - #### withCacheUsedPercentage

          public DescribeCacheResult withCacheUsedPercentage(java.lang.Double cacheUsedPercentage)

      The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.

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

      パラメータ:
        `cacheUsedPercentage` - The percentage (0 to 100) of the cache storage in use. If no cached is defined for the gateway, this field returns 0.

    - #### getCacheDirtyPercentage

          public java.lang.Double getCacheDirtyPercentage()

      The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.
      戻り値:
        The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### setCacheDirtyPercentage

          public void setCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)

      The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.
      パラメータ:
        `cacheDirtyPercentage` - The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### withCacheDirtyPercentage

          public DescribeCacheResult withCacheDirtyPercentage(java.lang.Double cacheDirtyPercentage)

      The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.

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

      パラメータ:
        `cacheDirtyPercentage` - The percentage of the cache that contains data that has not yet been persisted to Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### getCacheHitPercentage

          public java.lang.Double getCacheHitPercentage()

      The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.
      戻り値:
        The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.

    - #### setCacheHitPercentage

          public void setCacheHitPercentage(java.lang.Double cacheHitPercentage)

      The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.
      パラメータ:
        `cacheHitPercentage` - The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.

    - #### withCacheHitPercentage

          public DescribeCacheResult withCacheHitPercentage(java.lang.Double cacheHitPercentage)

      The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.

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

      パラメータ:
        `cacheHitPercentage` - The percentage (0 to 100) of data read from the storage volume that was read from cache. If no cached is defined for the gateway, this field returns 0.

    - #### getCacheMissPercentage

          public java.lang.Double getCacheMissPercentage()

      TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.
      戻り値:
        TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### setCacheMissPercentage

          public void setCacheMissPercentage(java.lang.Double cacheMissPercentage)

      TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.
      パラメータ:
        `cacheMissPercentage` - TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### withCacheMissPercentage

          public DescribeCacheResult withCacheMissPercentage(java.lang.Double cacheMissPercentage)

      TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.

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

      パラメータ:
        `cacheMissPercentage` - TThe percentage (0 to 100) of data read from the storage volume that was not read from the cache, but was read from Amazon S3. If no cached is defined for the gateway, this field returns 0.

    - #### 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`