Interface DescribeCacheResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeCacheResponse.Builder,DescribeCacheResponse>, SdkBuilder<DescribeCacheResponse.Builder,DescribeCacheResponse>, SdkPojo, SdkResponse.Builder, StorageGatewayResponse.Builder
Enclosing class:
DescribeCacheResponse

public static interface DescribeCacheResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeCacheResponse.Builder,DescribeCacheResponse>
  • Method Details

    • gatewayARN

      DescribeCacheResponse.Builder gatewayARN(String gatewayARN)
      Sets the value of the GatewayARN property for this object.
      Parameters:
      gatewayARN - The new value for the GatewayARN property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diskIds

      An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

      Parameters:
      diskIds - An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diskIds

      An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.

      Parameters:
      diskIds - An array of strings that identify disks that are to be configured as working storage. Each string has a minimum length of 1 and maximum length of 300. You can get the disk IDs from the ListLocalDisks API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheAllocatedInBytes

      DescribeCacheResponse.Builder cacheAllocatedInBytes(Long cacheAllocatedInBytes)

      The amount of cache in bytes allocated to a gateway.

      Parameters:
      cacheAllocatedInBytes - The amount of cache in bytes allocated to a gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheUsedPercentage

      DescribeCacheResponse.Builder cacheUsedPercentage(Double cacheUsedPercentage)

      Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.

      Parameters:
      cacheUsedPercentage - Percent use of the gateway's cache storage. This metric applies only to the gateway-cached volume setup. The sample is taken at the end of the reporting period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheDirtyPercentage

      DescribeCacheResponse.Builder cacheDirtyPercentage(Double cacheDirtyPercentage)

      The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.

      Parameters:
      cacheDirtyPercentage - The file share's contribution to the overall percentage of the gateway's cache that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheHitPercentage

      DescribeCacheResponse.Builder cacheHitPercentage(Double cacheHitPercentage)

      Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.

      Parameters:
      cacheHitPercentage - Percent of application read operations from the file shares that are served from cache. The sample is taken at the end of the reporting period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheMissPercentage

      DescribeCacheResponse.Builder cacheMissPercentage(Double cacheMissPercentage)

      Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.

      Parameters:
      cacheMissPercentage - Percent of application read operations from the file shares that are not served from cache. The sample is taken at the end of the reporting period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.