Interface DescribeCacheReportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCacheReportResponse.Builder,,DescribeCacheReportResponse> SdkBuilder<DescribeCacheReportResponse.Builder,,DescribeCacheReportResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
DescribeCacheReportResponse
@Mutable
@NotThreadSafe
public static interface DescribeCacheReportResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeCacheReportResponse.Builder,DescribeCacheReportResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncacheReportInfo(Consumer<CacheReportInfo.Builder> cacheReportInfo) Contains all informational fields associated with a cache report.cacheReportInfo(CacheReportInfo cacheReportInfo) Contains all informational fields associated with a cache report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
cacheReportInfo
Contains all informational fields associated with a cache report. Includes name, ARN, tags, status, progress, filters, start time, and end time.
- Parameters:
cacheReportInfo- Contains all informational fields associated with a cache report. Includes name, ARN, tags, status, progress, filters, start time, and end time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheReportInfo
default DescribeCacheReportResponse.Builder cacheReportInfo(Consumer<CacheReportInfo.Builder> cacheReportInfo) Contains all informational fields associated with a cache report. Includes name, ARN, tags, status, progress, filters, start time, and end time.
This is a convenience method that creates an instance of theCacheReportInfo.Builderavoiding the need to create one manually viaCacheReportInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheReportInfo(CacheReportInfo).- Parameters:
cacheReportInfo- a consumer that will call methods onCacheReportInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-