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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
-
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
VolumeInfosis 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, thenVolumeInfosis 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
VolumeInfosis 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, thenVolumeInfosis 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 theVolumeInfosis an empty array "[]".VolumeInfo.Builderavoiding the need to create one manually viaVolumeInfo.builder().When the
Consumercompletes,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:
-