Interface DescribeWorkingStorageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkingStorageResponse.Builder,DescribeWorkingStorageResponse>,SdkBuilder<DescribeWorkingStorageResponse.Builder,DescribeWorkingStorageResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- DescribeWorkingStorageResponse
public static interface DescribeWorkingStorageResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkingStorageResponse.Builder,DescribeWorkingStorageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeWorkingStorageResponse.BuilderdiskIds(String... diskIds)An array of the gateway's local disk IDs that are configured as working storage.DescribeWorkingStorageResponse.BuilderdiskIds(Collection<String> diskIds)An array of the gateway's local disk IDs that are configured as working storage.DescribeWorkingStorageResponse.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.DescribeWorkingStorageResponse.BuilderworkingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)The total working storage in bytes allocated for the gateway.DescribeWorkingStorageResponse.BuilderworkingStorageUsedInBytes(Long workingStorageUsedInBytes)The total working storage in bytes in use by the gateway.-
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
DescribeWorkingStorageResponse.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
DescribeWorkingStorageResponse.Builder diskIds(Collection<String> diskIds)
An array of the gateway's local disk IDs that are configured as working storage. 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 working storage, then the DiskIds array is empty.
- Parameters:
diskIds- An array of the gateway's local disk IDs that are configured as working storage. 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 working storage, then the DiskIds array is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskIds
DescribeWorkingStorageResponse.Builder diskIds(String... diskIds)
An array of the gateway's local disk IDs that are configured as working storage. 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 working storage, then the DiskIds array is empty.
- Parameters:
diskIds- An array of the gateway's local disk IDs that are configured as working storage. 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 working storage, then the DiskIds array is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workingStorageUsedInBytes
DescribeWorkingStorageResponse.Builder workingStorageUsedInBytes(Long workingStorageUsedInBytes)
The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.
- Parameters:
workingStorageUsedInBytes- The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workingStorageAllocatedInBytes
DescribeWorkingStorageResponse.Builder workingStorageAllocatedInBytes(Long workingStorageAllocatedInBytes)
The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.
- Parameters:
workingStorageAllocatedInBytes- The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-