Interface ListVolumesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVolumesResponse.Builder,
,ListVolumesResponse> SdkBuilder<ListVolumesResponse.Builder,
,ListVolumesResponse> SdkPojo
,SdkResponse.Builder
,StorageGatewayResponse.Builder
- Enclosing class:
ListVolumesResponse
-
Method Summary
Modifier and TypeMethodDescriptiongatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.Use the marker in your next request to continue pagination of iSCSI volumes.volumeInfos
(Collection<VolumeInfo> volumeInfos) An array of VolumeInfo objects, where each object describes an iSCSI volume.volumeInfos
(Consumer<VolumeInfo.Builder>... volumeInfos) An array of VolumeInfo objects, where each object describes an iSCSI volume.volumeInfos
(VolumeInfo... volumeInfos) An array of VolumeInfo objects, where each object describes an iSCSI 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
-
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.
-
marker
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.
- Parameters:
marker
- Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeInfos
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then
VolumeInfos
is an empty array "[]".- Parameters:
volumeInfos
- An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, thenVolumeInfos
is an empty array "[]".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeInfos
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then
VolumeInfos
is an empty array "[]".- Parameters:
volumeInfos
- An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, thenVolumeInfos
is an empty array "[]".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeInfos
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then
This is a convenience method that creates an instance of theVolumeInfos
is an empty array "[]".VolumeInfo.Builder
avoiding the need to create one manually viaVolumeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovolumeInfos(List<VolumeInfo>)
.- Parameters:
volumeInfos
- a consumer that will call methods onVolumeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-