public static interface ListVolumesResponse.Builder extends StorageGatewayResponse.Builder, CopyableBuilder<ListVolumesResponse.Builder,ListVolumesResponse>
Modifier and Type | Method and Description |
---|---|
ListVolumesResponse.Builder |
gatewayARN(String gatewayARN)
Sets the value of the GatewayARN property for this object.
|
ListVolumesResponse.Builder |
marker(String marker)
Sets the value of the Marker property for this object.
|
ListVolumesResponse.Builder |
volumeInfos(Collection<VolumeInfo> volumeInfos)
Sets the value of the VolumeInfos property for this object.
|
ListVolumesResponse.Builder |
volumeInfos(Consumer<VolumeInfo.Builder>... volumeInfos)
Sets the value of the VolumeInfos property for this object.
|
ListVolumesResponse.Builder |
volumeInfos(VolumeInfo... volumeInfos)
Sets the value of the VolumeInfos property for this object.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListVolumesResponse.Builder gatewayARN(String gatewayARN)
gatewayARN
- The new value for the GatewayARN property for this object.ListVolumesResponse.Builder marker(String marker)
marker
- The new value for the Marker property for this object.ListVolumesResponse.Builder volumeInfos(Collection<VolumeInfo> volumeInfos)
volumeInfos
- The new value for the VolumeInfos property for this object.ListVolumesResponse.Builder volumeInfos(VolumeInfo... volumeInfos)
volumeInfos
- The new value for the VolumeInfos property for this object.ListVolumesResponse.Builder volumeInfos(Consumer<VolumeInfo.Builder>... volumeInfos)
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #volumeInfos(List)
.volumeInfos
- a consumer that will call methods on List.Builder
#volumeInfos(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.