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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCacheResponse.BuildercacheAllocatedInBytes(Long cacheAllocatedInBytes)The amount of cache in bytes allocated to a gateway.DescribeCacheResponse.BuildercacheDirtyPercentage(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.DescribeCacheResponse.BuildercacheHitPercentage(Double cacheHitPercentage)Percent of application read operations from the file shares that are served from cache.DescribeCacheResponse.BuildercacheMissPercentage(Double cacheMissPercentage)Percent of application read operations from the file shares that are not served from cache.DescribeCacheResponse.BuildercacheUsedPercentage(Double cacheUsedPercentage)Percent use of the gateway's cache storage.DescribeCacheResponse.BuilderdiskIds(String... diskIds)An array of strings that identify disks that are to be configured as working storage.DescribeCacheResponse.BuilderdiskIds(Collection<String> diskIds)An array of strings that identify disks that are to be configured as working storage.DescribeCacheResponse.BuildergatewayARN(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 Detail
-
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
DescribeCacheResponse.Builder diskIds(Collection<String> 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
DescribeCacheResponse.Builder diskIds(String... 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.
-
-