Interface DescribeCacheResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCacheResponse.Builder,
,DescribeCacheResponse> SdkBuilder<DescribeCacheResponse.Builder,
,DescribeCacheResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
DescribeCacheResponse
-
Method Summary
Modifier and TypeMethodDescriptioncacheAllocatedInBytes
(Long cacheAllocatedInBytes) The amount of cache in bytes allocated to a gateway.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.cacheHitPercentage
(Double cacheHitPercentage) Percent of application read operations from the file shares that are served from cache.cacheMissPercentage
(Double cacheMissPercentage) Percent of application read operations from the file shares that are not served from cache.cacheUsedPercentage
(Double cacheUsedPercentage) Percent use of the gateway's cache storage.An array of strings that identify disks that are to be configured as working storage.diskIds
(Collection<String> diskIds) An array of strings that identify disks that are to be configured as working storage.gatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
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
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
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
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.
-