public static interface ListLocalDisksResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListLocalDisksResponse.Builder,ListLocalDisksResponse>
Modifier and Type | Method and Description |
---|---|
ListLocalDisksResponse.Builder |
disks(Collection<Disk> disks)
Sets the value of the Disks property for this object.
|
ListLocalDisksResponse.Builder |
disks(Consumer<Disk.Builder>... disks)
Sets the value of the Disks property for this object.
|
ListLocalDisksResponse.Builder |
disks(Disk... disks)
Sets the value of the Disks property for this object.
|
ListLocalDisksResponse.Builder |
gatewayARN(String gatewayARN)
Sets the value of the GatewayARN property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListLocalDisksResponse.Builder gatewayARN(String gatewayARN)
gatewayARN
- The new value for the GatewayARN property for this object.ListLocalDisksResponse.Builder disks(Collection<Disk> disks)
disks
- The new value for the Disks property for this object.ListLocalDisksResponse.Builder disks(Disk... disks)
disks
- The new value for the Disks property for this object.ListLocalDisksResponse.Builder disks(Consumer<Disk.Builder>... disks)
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 #disks(List)
.disks
- a consumer that will call methods on List.Builder
#disks(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.