Interface DescribeCachediScsiVolumesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCachediScsiVolumesResponse.Builder,
,DescribeCachediScsiVolumesResponse> SdkBuilder<DescribeCachediScsiVolumesResponse.Builder,
,DescribeCachediScsiVolumesResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
DescribeCachediScsiVolumesResponse
public static interface DescribeCachediScsiVolumesResponse.Builder
extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeCachediScsiVolumesResponse.Builder,DescribeCachediScsiVolumesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncachediSCSIVolumes
(Collection<CachediSCSIVolume> cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.cachediSCSIVolumes
(Consumer<CachediSCSIVolume.Builder>... cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.cachediSCSIVolumes
(CachediSCSIVolume... cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.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
-
cachediSCSIVolumes
DescribeCachediScsiVolumesResponse.Builder cachediSCSIVolumes(Collection<CachediSCSIVolume> cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.
- Parameters:
cachediSCSIVolumes
- An array of objects where each object contains metadata about one cached volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cachediSCSIVolumes
DescribeCachediScsiVolumesResponse.Builder cachediSCSIVolumes(CachediSCSIVolume... cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.
- Parameters:
cachediSCSIVolumes
- An array of objects where each object contains metadata about one cached volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cachediSCSIVolumes
DescribeCachediScsiVolumesResponse.Builder cachediSCSIVolumes(Consumer<CachediSCSIVolume.Builder>... cachediSCSIVolumes) An array of objects where each object contains metadata about one cached volume.
This is a convenience method that creates an instance of theCachediSCSIVolume.Builder
avoiding the need to create one manually viaCachediSCSIVolume.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocachediSCSIVolumes(List<CachediSCSIVolume>)
.- Parameters:
cachediSCSIVolumes
- a consumer that will call methods onCachediSCSIVolume.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-