Interface ListVolumesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVolumesResponse.Builder,ListVolumesResponse>,SdkBuilder<ListVolumesResponse.Builder,ListVolumesResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- ListVolumesResponse
public static interface ListVolumesResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListVolumesResponse.Builder,ListVolumesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListVolumesResponse.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.ListVolumesResponse.Buildermarker(String marker)Use the marker in your next request to continue pagination of iSCSI volumes.ListVolumesResponse.BuildervolumeInfos(Collection<VolumeInfo> volumeInfos)An array of VolumeInfo objects, where each object describes an iSCSI volume.ListVolumesResponse.BuildervolumeInfos(Consumer<VolumeInfo.Builder>... volumeInfos)An array of VolumeInfo objects, where each object describes an iSCSI volume.ListVolumesResponse.BuildervolumeInfos(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 Detail
-
gatewayARN
ListVolumesResponse.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.
-
marker
ListVolumesResponse.Builder marker(String 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
ListVolumesResponse.Builder volumeInfos(Collection<VolumeInfo> 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
ListVolumesResponse.Builder volumeInfos(VolumeInfo... 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
ListVolumesResponse.Builder volumeInfos(Consumer<VolumeInfo.Builder>... 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 to#volumeInfos(List.) - 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:
#volumeInfos(java.util.Collection)
-
-